Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.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.AltitudeAngle,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle",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.825/1.825, allocations: 387.2 MB / 394.5 MB, free: 13.65 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.0009725/0.0009724, allocations: 189.2 kB / 487 MB, free: 5.375 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.24/1.24, allocations: 221.3 MB / 0.7819 GB, free: 1.395 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.0009797/0.0009799, allocations: 94.45 kB / 0.9213 GB, free: 2.645 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.464/0.4651, allocations: 148.5 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1924/0.6575, allocations: 142.3 MB / 1.205 GB, free: 26.15 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.655/3.313, allocations: 1.73 GB / 2.935 GB, free: 128.9 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002342/3.313, allocations: 95.88 kB / 2.935 GB, free: 128.8 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: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.1201/3.433, allocations: 60.94 MB / 2.995 GB, free: 67.56 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.56e-05/3.433, allocations: 8 kB / 2.995 GB, free: 67.55 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000895/3.434, allocations: 190.6 kB / 2.995 GB, free: 67.36 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009378/3.435, allocations: 0.6192 MB / 2.996 GB, free: 66.7 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.549e-05/3.435, allocations: 27.98 kB / 2.996 GB, free: 66.68 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.75e-05/3.435, allocations: 48 kB / 2.996 GB, free: 66.63 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001274/3.436, allocations: 0.9796 MB / 2.997 GB, free: 65.65 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009678/3.437, allocations: 0.7271 MB / 2.997 GB, free: 64.88 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.871e-05/3.437, allocations: 0 / 2.997 GB, free: 64.88 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.236e-05/3.437, allocations: 0 / 2.997 GB, free: 64.88 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.47e-05/3.437, allocations: 20 kB / 2.997 GB, free: 64.86 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003117/3.44, allocations: 2.278 MB / 3 GB, free: 62.53 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009489/3.441, allocations: 0.7167 MB / 3 GB, free: 61.78 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003246/3.442, allocations: 246.8 kB / 3.001 GB, free: 61.54 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 8.07e-05/3.442, allocations: 44.66 kB / 3.001 GB, free: 61.49 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004407/3.442, allocations: 370.1 kB / 3.001 GB, free: 61.11 MB / 1.151 GB Notification: Performance of pre-optimization done (n=73): time 2.465e-06/3.442, allocations: 0 / 3.001 GB, free: 61.11 MB / 1.151 GB Notification: Performance of matching and sorting (n=73): time 0.001439/3.444, allocations: 0.6442 MB / 3.002 GB, free: 60.46 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.785e-05/3.444, allocations: 244 kB / 3.002 GB, free: 60.16 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000554/3.444, allocations: 0.4984 MB / 3.002 GB, free: 59.66 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 5.522e-05/3.444, allocations: 25.7 kB / 3.002 GB, free: 59.63 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001629/3.445, allocations: 296.1 kB / 3.003 GB, free: 59.33 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001501/3.445, allocations: 232.5 kB / 3.003 GB, free: 59.1 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.889e-05/3.445, allocations: 0 / 3.003 GB, free: 59.1 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001011/3.445, allocations: 382.8 kB / 3.003 GB, free: 58.72 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002668/3.445, allocations: 181.3 kB / 3.003 GB, free: 58.54 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003248/3.446, allocations: 295.3 kB / 3.004 GB, free: 58.22 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000354/3.446, allocations: 239 kB / 3.004 GB, free: 57.99 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/3.446, allocations: 0 / 3.004 GB, free: 57.99 MB / 1.151 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001354/3.447, allocations: 0.6521 MB / 3.005 GB, free: 57.33 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/3.447, allocations: 7.938 kB / 3.005 GB, free: 57.32 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.864e-06/3.447, allocations: 0 / 3.005 GB, free: 57.32 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006031/3.448, allocations: 84.88 kB / 3.005 GB, free: 57.23 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005576/3.448, allocations: 143.7 kB / 3.005 GB, free: 57.09 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001557/3.45, allocations: 1.453 MB / 3.006 GB, free: 55.52 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005456/3.451, allocations: 63.56 kB / 3.006 GB, free: 55.45 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.496e-05/3.451, allocations: 27.98 kB / 3.006 GB, free: 55.43 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (76): * Single equations (assignments): 75 * 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.0001389/3.451, allocations: 116.9 kB / 3.006 GB, free: 55.3 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001097/3.451, allocations: 75.25 kB / 3.006 GB, free: 55.23 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001907/3.453, allocations: 0.9284 MB / 3.007 GB, free: 54.29 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.632e-06/3.453, allocations: 8 kB / 3.007 GB, free: 54.28 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.364e-06/3.453, allocations: 0 / 3.007 GB, free: 54.28 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.346e-06/3.453, allocations: 3.984 kB / 3.007 GB, free: 54.27 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002289/3.455, allocations: 1.698 MB / 3.009 GB, free: 52.53 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.816e-06/3.455, allocations: 0 / 3.009 GB, free: 52.53 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000567/3.456, allocations: 147.8 kB / 3.009 GB, free: 52.38 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004821/3.456, allocations: 84.77 kB / 3.009 GB, free: 52.3 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.72e-05/3.456, allocations: 19.97 kB / 3.009 GB, free: 52.28 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001339/3.458, allocations: 1.476 MB / 3.011 GB, free: 50.68 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/3.458, allocations: 0 / 3.011 GB, free: 50.68 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001223/3.459, allocations: 0.8283 MB / 3.012 GB, free: 49.83 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001326/3.46, allocations: 1.239 MB / 3.013 GB, free: 48.57 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00029/3.461, allocations: 271.8 kB / 3.013 GB, free: 48.29 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001194/3.461, allocations: 8 kB / 3.013 GB, free: 48.28 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000557/3.461, allocations: 55.95 kB / 3.013 GB, free: 48.22 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.75e-05/3.461, allocations: 52.69 kB / 3.013 GB, free: 48.17 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.121e-05/3.461, allocations: 31.98 kB / 3.013 GB, free: 48.14 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0003453/3.462, allocations: 402.9 kB / 3.014 GB, free: 47.75 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001482/3.463, allocations: 407.1 kB / 3.014 GB, free: 47.35 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 (87): * Single equations (assignments): 84 * 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.00139/3.465, allocations: 1.043 MB / 3.015 GB, free: 46.41 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0008942/3.466, allocations: 0.6506 MB / 3.016 GB, free: 45.76 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/3.466, allocations: 0 / 3.016 GB, free: 45.76 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0005527/3.466, allocations: 448.8 kB / 3.016 GB, free: 45.3 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008537/3.467, allocations: 216.7 kB / 3.016 GB, free: 45.1 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002944/3.47, allocations: 1.339 MB / 3.018 GB, free: 43.73 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005741/3.471, allocations: 1.123 MB / 3.019 GB, free: 42.57 MB / 1.151 GB Notification: Performance of SimCode: time 3.01e-07/3.471, allocations: 4 kB / 3.019 GB, free: 42.57 MB / 1.151 GB (rm -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle.fmu > Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle_res.mat does not exist to compare? outputFormat=mat