Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",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 10.0.0-master/package.mo): time 1.766/1.766, allocations: 390.4 MB / 397.7 MB, free: 10.72 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001021/0.001021, allocations: 174.6 kB / 490.8 MB, free: 11.26 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.102/1.102, allocations: 221.4 MB / 0.7863 GB, free: 13.63 MB / 0.5886 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008383/0.0008383, allocations: 91.23 kB / 0.9264 GB, free: 4.609 MB / 0.6667 GB Notification: Performance of FrontEnd - loaded program: time 0.2395/0.2404, allocations: 149.1 MB / 1.072 GB, free: 15.54 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5275/0.7678, allocations: 143 MB / 1.212 GB, free: 155.9 MB / 0.8855 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.723/3.491, allocations: 1.731 GB / 2.942 GB, free: 372.1 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002139/3.491, allocations: 95.94 kB / 2.942 GB, free: 372 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: 195 * Number of variables: 195 Notification: Performance of Generate backend data structure: time 0.1193/3.611, allocations: 60.21 MB / 3.001 GB, free: 311.9 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.518e-05/3.611, allocations: 11.94 kB / 3.001 GB, free: 311.9 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008787/3.612, allocations: 198.6 kB / 3.001 GB, free: 311.7 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008693/3.613, allocations: 0.6036 MB / 3.002 GB, free: 311.1 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.778e-05/3.613, allocations: 31.94 kB / 3.002 GB, free: 311.1 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.107e-05/3.613, allocations: 44 kB / 3.002 GB, free: 311 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001203/3.614, allocations: 0.964 MB / 3.003 GB, free: 310 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009732/3.615, allocations: 0.7037 MB / 3.004 GB, free: 309.3 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.943e-05/3.615, allocations: 0 / 3.004 GB, free: 309.3 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.385e-05/3.615, allocations: 0 / 3.004 GB, free: 309.3 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.391e-05/3.615, allocations: 20 kB / 3.004 GB, free: 309.3 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002842/3.618, allocations: 2.225 MB / 3.006 GB, free: 307 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008518/3.619, allocations: 0.7085 MB / 3.006 GB, free: 306.3 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002889/3.619, allocations: 234.8 kB / 3.007 GB, free: 306 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 6.519e-05/3.619, allocations: 34.36 kB / 3.007 GB, free: 306 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004015/3.62, allocations: 366.1 kB / 3.007 GB, free: 305.6 MB / 1.151 GB Notification: Performance of pre-optimization done (n=70): time 1.543e-06/3.62, allocations: 0 / 3.007 GB, free: 305.6 MB / 1.151 GB Notification: Performance of matching and sorting (n=70): time 0.001312/3.621, allocations: 0.6093 MB / 3.008 GB, free: 305 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.445e-05/3.621, allocations: 247.9 kB / 3.008 GB, free: 304.7 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004771/3.621, allocations: 0.4943 MB / 3.008 GB, free: 304.2 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.322e-05/3.621, allocations: 29.7 kB / 3.008 GB, free: 304.2 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.000113/3.622, allocations: 292.2 kB / 3.009 GB, free: 303.9 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001097/3.622, allocations: 220.6 kB / 3.009 GB, free: 303.7 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.617e-05/3.622, allocations: 0 / 3.009 GB, free: 303.7 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.702e-05/3.622, allocations: 374.8 kB / 3.009 GB, free: 303.3 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002422/3.622, allocations: 185.2 kB / 3.009 GB, free: 303.1 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002887/3.622, allocations: 282.4 kB / 3.01 GB, free: 302.8 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003036/3.623, allocations: 227 kB / 3.01 GB, free: 302.6 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/3.623, allocations: 0 / 3.01 GB, free: 302.6 MB / 1.151 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001247/3.624, allocations: 0.6365 MB / 3.011 GB, free: 301.9 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/3.624, allocations: 4 kB / 3.011 GB, free: 301.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/3.624, allocations: 1.375 kB / 3.011 GB, free: 301.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000585/3.625, allocations: 88.77 kB / 3.011 GB, free: 301.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005175/3.625, allocations: 127.9 kB / 3.011 GB, free: 301.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001544/3.627, allocations: 1.451 MB / 3.012 GB, free: 300.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00048/3.627, allocations: 67.59 kB / 3.012 GB, free: 300.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.602e-05/3.627, allocations: 27.98 kB / 3.012 GB, free: 300 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 (72): * Single equations (assignments): 71 * 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.0001308/3.627, allocations: 120.8 kB / 3.012 GB, free: 299.9 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.49e-05/3.627, allocations: 71.16 kB / 3.012 GB, free: 299.9 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001753/3.629, allocations: 0.888 MB / 3.013 GB, free: 299 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.271e-06/3.629, allocations: 8 kB / 3.013 GB, free: 299 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.304e-06/3.629, allocations: 0 / 3.013 GB, free: 299 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.446e-06/3.629, allocations: 3.984 kB / 3.013 GB, free: 299 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002245/3.631, allocations: 1.639 MB / 3.015 GB, free: 297.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/3.631, allocations: 0 / 3.015 GB, free: 297.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005201/3.632, allocations: 145.8 kB / 3.015 GB, free: 297.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004752/3.632, allocations: 80.78 kB / 3.015 GB, free: 297.1 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.024e-05/3.633, allocations: 21.77 kB / 3.015 GB, free: 297 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001364/3.634, allocations: 1.483 MB / 3.017 GB, free: 295.4 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/3.634, allocations: 3.984 kB / 3.017 GB, free: 295.4 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001214/3.635, allocations: 0.7971 MB / 3.017 GB, free: 294.6 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001318/3.636, allocations: 1.203 MB / 3.019 GB, free: 293.4 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002735/3.637, allocations: 267.9 kB / 3.019 GB, free: 293.1 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001119/3.637, allocations: 4 kB / 3.019 GB, free: 293.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005348/3.637, allocations: 59.94 kB / 3.019 GB, free: 293 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.751e-05/3.638, allocations: 44.7 kB / 3.019 GB, free: 293 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.473e-05/3.638, allocations: 31.98 kB / 3.019 GB, free: 293 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0003317/3.638, allocations: 402.8 kB / 3.019 GB, free: 292.6 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001473/3.639, allocations: 403.1 kB / 3.02 GB, free: 292.2 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 (81): * Single equations (assignments): 78 * 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.001482/3.641, allocations: 1.047 MB / 3.021 GB, free: 291.3 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0009065/3.642, allocations: 0.6195 MB / 3.021 GB, free: 290.7 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/3.642, allocations: 0 / 3.021 GB, free: 290.7 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0005405/3.642, allocations: 440.6 kB / 3.022 GB, free: 290.2 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008677/3.643, allocations: 208 kB / 3.022 GB, free: 290.1 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00287/3.646, allocations: 1.299 MB / 3.023 GB, free: 288.7 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005886/3.647, allocations: 1.115 MB / 3.024 GB, free: 287.6 MB / 1.151 GB Notification: Performance of SimCode: time 2.3e-07/3.647, allocations: 0 / 3.024 GB, free: 287.6 MB / 1.151 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle_res.mat does not exist to compare? outputFormat=mat