Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.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.SolarAzimuth,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth",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.75/1.75, allocations: 390.4 MB / 397.7 MB, free: 10.67 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.0009581/0.0009581, allocations: 186.4 kB / 490.8 MB, free: 11.22 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.126/1.126, allocations: 221.4 MB / 0.7863 GB, free: 13.6 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.000846/0.0008461, allocations: 90.08 kB / 0.9264 GB, free: 4.582 MB / 0.6667 GB Notification: Performance of FrontEnd - loaded program: time 0.2341/0.235, allocations: 149.2 MB / 1.072 GB, free: 15.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.537/0.772, allocations: 143 MB / 1.212 GB, free: 155.9 MB / 0.8855 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.791/3.563, allocations: 1.732 GB / 2.943 GB, free: 344.3 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002663/3.563, allocations: 97.78 kB / 2.943 GB, free: 344.3 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 210 * Number of variables: 210 Notification: Performance of Generate backend data structure: time 0.125/3.688, allocations: 61.79 MB / 3.004 GB, free: 307.4 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 3.064e-05/3.688, allocations: 8 kB / 3.004 GB, free: 307.4 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000883/3.689, allocations: 197.5 kB / 3.004 GB, free: 307.2 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008765/3.69, allocations: 0.6233 MB / 3.004 GB, free: 306.6 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.917e-05/3.69, allocations: 24 kB / 3.004 GB, free: 306.6 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.793e-05/3.69, allocations: 48 kB / 3.004 GB, free: 306.5 MB / 1.167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001237/3.691, allocations: 1.011 MB / 3.005 GB, free: 305.8 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009833/3.692, allocations: 0.7482 MB / 3.006 GB, free: 305.2 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.897e-05/3.692, allocations: 11.92 kB / 3.006 GB, free: 305.2 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.249e-05/3.692, allocations: 0 / 3.006 GB, free: 305.2 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.388e-05/3.692, allocations: 20 kB / 3.006 GB, free: 305.1 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003305/3.696, allocations: 2.419 MB / 3.009 GB, free: 303.2 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001384/3.697, allocations: 0.7822 MB / 3.009 GB, free: 302.6 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003158/3.697, allocations: 250.7 kB / 3.01 GB, free: 302.4 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 7.282e-05/3.697, allocations: 36.05 kB / 3.01 GB, free: 302.4 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004461/3.698, allocations: 392.2 kB / 3.01 GB, free: 302.1 MB / 1.167 GB Notification: Performance of pre-optimization done (n=76): time 1.984e-06/3.698, allocations: 2.906 kB / 3.01 GB, free: 302.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=76): time 0.00144/3.699, allocations: 0.6696 MB / 3.011 GB, free: 301.6 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.845e-05/3.699, allocations: 240 kB / 3.011 GB, free: 301.3 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005334/3.7, allocations: 0.5004 MB / 3.011 GB, free: 300.9 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 5.333e-05/3.7, allocations: 33.64 kB / 3.011 GB, free: 300.9 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001344/3.7, allocations: 301.1 kB / 3.012 GB, free: 300.6 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001301/3.7, allocations: 241.7 kB / 3.012 GB, free: 300.4 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.198e-05/3.7, allocations: 0 / 3.012 GB, free: 300.4 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 7.632e-05/3.7, allocations: 378.9 kB / 3.012 GB, free: 300.1 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002853/3.701, allocations: 192.5 kB / 3.012 GB, free: 299.9 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000328/3.701, allocations: 309.7 kB / 3.013 GB, free: 299.7 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003864/3.701, allocations: 248 kB / 3.013 GB, free: 299.5 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/3.701, allocations: 0 / 3.013 GB, free: 299.5 MB / 1.167 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001357/3.703, allocations: 0.6717 MB / 3.014 GB, free: 299 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.179e-05/3.703, allocations: 4 kB / 3.014 GB, free: 299 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/3.703, allocations: 0 / 3.014 GB, free: 299 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005835/3.703, allocations: 89.33 kB / 3.014 GB, free: 298.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005822/3.704, allocations: 143.7 kB / 3.014 GB, free: 298.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001578/3.706, allocations: 1.457 MB / 3.015 GB, free: 297.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005802/3.706, allocations: 68.97 kB / 3.015 GB, free: 297.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.172e-05/3.706, allocations: 31.03 kB / 3.015 GB, free: 297.2 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,solAzi.outsidePolarCircle) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (79): * Single equations (assignments): 78 * 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.0001282/3.706, allocations: 124.4 kB / 3.016 GB, free: 297.1 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001005/3.706, allocations: 71.16 kB / 3.016 GB, free: 297 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001932/3.708, allocations: 0.9859 MB / 3.017 GB, free: 296.3 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.144e-06/3.708, allocations: 12 kB / 3.017 GB, free: 296.3 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.574e-06/3.708, allocations: 0 / 3.017 GB, free: 296.3 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.167e-06/3.708, allocations: 9.766 kB / 3.017 GB, free: 296.3 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002377/3.711, allocations: 1.759 MB / 3.018 GB, free: 294.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/3.711, allocations: 4 kB / 3.018 GB, free: 294.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005962/3.711, allocations: 162.8 kB / 3.018 GB, free: 294.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004805/3.712, allocations: 87.45 kB / 3.019 GB, free: 294.7 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.281e-05/3.712, allocations: 15.42 kB / 3.019 GB, free: 294.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001379/3.713, allocations: 1.474 MB / 3.02 GB, free: 293.2 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/3.713, allocations: 3.938 kB / 3.02 GB, free: 293.2 MB / 1.167 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001332/3.715, allocations: 0.8564 MB / 3.021 GB, free: 292.5 MB / 1.167 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001463/3.716, allocations: 1.274 MB / 3.022 GB, free: 291.4 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000306/3.716, allocations: 283.3 kB / 3.022 GB, free: 291.2 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001271/3.717, allocations: 7.859 kB / 3.022 GB, free: 291.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005748/3.717, allocations: 55.95 kB / 3.022 GB, free: 291.1 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.634e-05/3.717, allocations: 52.19 kB / 3.022 GB, free: 291.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.95e-05/3.717, allocations: 31.23 kB / 3.023 GB, free: 291 MB / 1.167 GB Notification: Performance of sort global known variables: time 0.0003553/3.718, allocations: 415 kB / 3.023 GB, free: 290.7 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001607/3.719, allocations: 436.4 kB / 3.023 GB, free: 290.4 MB / 1.167 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 (93): * Single equations (assignments): 90 * 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.001571/3.721, allocations: 1.066 MB / 3.024 GB, free: 289.6 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001034/3.722, allocations: 0.6733 MB / 3.025 GB, free: 289.1 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/3.722, allocations: 0 / 3.025 GB, free: 289.1 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.000593/3.723, allocations: 463.3 kB / 3.025 GB, free: 288.7 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008862/3.723, allocations: 211.5 kB / 3.026 GB, free: 288.5 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003108/3.727, allocations: 1.378 MB / 3.027 GB, free: 287.3 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006361/3.727, allocations: 1.144 MB / 3.028 GB, free: 286.2 MB / 1.167 GB Notification: Performance of SimCode: time 7.91e-07/3.727, allocations: 4 kB / 3.028 GB, free: 286.2 MB / 1.167 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth_res.mat does not exist to compare? outputFormat=mat