Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 1.83/1.83, allocations: 387.2 MB / 394.5 MB, free: 13.62 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001016/0.001016, allocations: 177 kB / 487 MB, free: 5.367 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.197/1.197, allocations: 221.3 MB / 0.7819 GB, free: 1.473 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008787/0.0008787, allocations: 93.62 kB / 0.9213 GB, free: 2.719 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.4826/0.4835, allocations: 148.5 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1929/0.6764, allocations: 142.3 MB / 1.205 GB, free: 26.18 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.602/3.279, allocations: 1.73 GB / 2.935 GB, free: 129.1 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000206/3.279, allocations: 91.94 kB / 2.935 GB, free: 129 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 201 * Number of variables: 201 Notification: Performance of Generate backend data structure: time 0.1198/3.399, allocations: 60.83 MB / 2.995 GB, free: 67.87 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 2.991e-05/3.399, allocations: 8 kB / 2.995 GB, free: 67.86 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008572/3.4, allocations: 202.5 kB / 2.995 GB, free: 67.66 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008374/3.401, allocations: 0.6113 MB / 2.996 GB, free: 67.01 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.815e-05/3.401, allocations: 28 kB / 2.996 GB, free: 66.98 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.837e-05/3.401, allocations: 44 kB / 2.996 GB, free: 66.94 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001182/3.402, allocations: 0.9796 MB / 2.997 GB, free: 65.96 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009419/3.403, allocations: 0.7232 MB / 2.997 GB, free: 65.2 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.733e-05/3.403, allocations: 3.984 kB / 2.997 GB, free: 65.2 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.466e-05/3.403, allocations: 7.906 kB / 2.997 GB, free: 65.19 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.415e-05/3.403, allocations: 23.94 kB / 2.997 GB, free: 65.16 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00293/3.406, allocations: 2.27 MB / 2.999 GB, free: 62.84 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008349/3.407, allocations: 0.7206 MB / 3 GB, free: 62.09 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002862/3.407, allocations: 242.7 kB / 3 GB, free: 61.85 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 6.469e-05/3.407, allocations: 28.61 kB / 3 GB, free: 61.82 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004049/3.408, allocations: 378 kB / 3.001 GB, free: 61.43 MB / 1.151 GB Notification: Performance of pre-optimization done (n=72): time 2.465e-06/3.408, allocations: 0 / 3.001 GB, free: 61.43 MB / 1.151 GB Notification: Performance of matching and sorting (n=72): time 0.001314/3.409, allocations: 0.6287 MB / 3.001 GB, free: 60.79 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.28e-05/3.409, allocations: 248 kB / 3.002 GB, free: 60.49 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004814/3.409, allocations: 0.4983 MB / 3.002 GB, free: 59.99 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.694e-05/3.409, allocations: 25.7 kB / 3.002 GB, free: 59.96 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001135/3.41, allocations: 292.2 kB / 3.002 GB, free: 59.66 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001095/3.41, allocations: 232.5 kB / 3.003 GB, free: 59.43 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.759e-05/3.41, allocations: 0 / 3.003 GB, free: 59.43 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.966e-05/3.41, allocations: 374.8 kB / 3.003 GB, free: 59.06 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000242/3.41, allocations: 185.3 kB / 3.003 GB, free: 58.88 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002906/3.41, allocations: 286.4 kB / 3.003 GB, free: 58.57 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003064/3.411, allocations: 239 kB / 3.004 GB, free: 58.34 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/3.411, allocations: 0 / 3.004 GB, free: 58.34 MB / 1.151 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.00122/3.412, allocations: 0.6443 MB / 3.004 GB, free: 57.68 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.309e-05/3.412, allocations: 7.984 kB / 3.004 GB, free: 57.68 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/3.412, allocations: 0 / 3.004 GB, free: 57.68 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005639/3.413, allocations: 84.84 kB / 3.004 GB, free: 57.59 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005397/3.413, allocations: 135.8 kB / 3.005 GB, free: 57.46 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001472/3.415, allocations: 1.457 MB / 3.006 GB, free: 55.88 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004876/3.415, allocations: 63.61 kB / 3.006 GB, free: 55.81 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.215e-05/3.415, allocations: 31.88 kB / 3.006 GB, free: 55.78 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001161/3.415, allocations: 116.9 kB / 3.006 GB, free: 55.66 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.199e-05/3.415, allocations: 67.16 kB / 3.006 GB, free: 55.59 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001759/3.417, allocations: 0.9284 MB / 3.007 GB, free: 54.65 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.083e-06/3.417, allocations: 8 kB / 3.007 GB, free: 54.64 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/3.417, allocations: 0 / 3.007 GB, free: 54.64 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.646e-06/3.417, allocations: 11.92 kB / 3.007 GB, free: 54.63 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002214/3.419, allocations: 1.686 MB / 3.009 GB, free: 52.89 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/3.419, allocations: 0 / 3.009 GB, free: 52.89 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000531/3.42, allocations: 155.7 kB / 3.009 GB, free: 52.74 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004697/3.42, allocations: 84.78 kB / 3.009 GB, free: 52.66 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.993e-05/3.42, allocations: 15.98 kB / 3.009 GB, free: 52.64 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001331/3.422, allocations: 1.476 MB / 3.011 GB, free: 51.05 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/3.422, allocations: 0 / 3.011 GB, free: 51.05 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001214/3.423, allocations: 0.8128 MB / 3.011 GB, free: 50.21 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00132/3.424, allocations: 1.235 MB / 3.013 GB, free: 48.95 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002795/3.425, allocations: 275.9 kB / 3.013 GB, free: 48.66 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001142/3.425, allocations: 0 / 3.013 GB, free: 48.66 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005378/3.425, allocations: 63.94 kB / 3.013 GB, free: 48.6 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.84e-05/3.425, allocations: 48.7 kB / 3.013 GB, free: 48.55 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.19e-05/3.425, allocations: 27.98 kB / 3.013 GB, free: 48.53 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0003356/3.426, allocations: 406.9 kB / 3.013 GB, free: 48.13 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001475/3.427, allocations: 411 kB / 3.014 GB, free: 47.73 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001421/3.429, allocations: 1.055 MB / 3.015 GB, free: 46.78 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.000916/3.43, allocations: 0.6427 MB / 3.015 GB, free: 46.13 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/3.43, allocations: 0 / 3.015 GB, free: 46.13 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0005558/3.43, allocations: 444.8 kB / 3.016 GB, free: 45.68 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008465/3.431, allocations: 211.7 kB / 3.016 GB, free: 45.48 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002894/3.434, allocations: 1.33 MB / 3.017 GB, free: 44.12 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000583/3.435, allocations: 1.123 MB / 3.018 GB, free: 42.96 MB / 1.151 GB Notification: Performance of SimCode: time 2.5e-07/3.435, allocations: 0 / 3.018 GB, free: 42.96 MB / 1.151 GB (rm -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle_fmu --startTime=100000 --stopTime=300000 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle.fmu > Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle_res.mat does not exist to compare? outputFormat=mat