Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.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.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan,fileNamePrefix="Buildings_9_Buildings_Air_Systems_SingleZone_VAV_BaseClasses_Validation_ControllerHeatingFan",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan,fileNamePrefix="Buildings_9_Buildings_Air_Systems_SingleZone_VAV_BaseClasses_Validation_ControllerHeatingFan",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.841/1.841, allocations: 387.2 MB / 394.5 MB, free: 13.63 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.001109/0.001109, allocations: 181.2 kB / 487 MB, free: 5.336 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.157/1.157, allocations: 221.3 MB / 0.7819 GB, free: 1.484 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.000844/0.000844, allocations: 99.05 kB / 0.9213 GB, free: 2.738 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.4504/0.4513, allocations: 148.5 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1964/0.6477, allocations: 142.3 MB / 1.205 GB, free: 26.14 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5271/1.175, allocations: 153.8 MB / 1.356 GB, free: 15.61 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002357/1.175, allocations: 98.66 kB / 1.356 GB, free: 15.6 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.02273/1.198, allocations: 9.169 MB / 1.365 GB, free: 12.09 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/1.198, allocations: 12.5 kB / 1.365 GB, free: 12.07 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.254e-05/1.198, allocations: 55.34 kB / 1.365 GB, free: 12.02 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005801/1.199, allocations: 473.9 kB / 1.365 GB, free: 11.61 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.356e-05/1.199, allocations: 8 kB / 1.365 GB, free: 11.6 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.332e-05/1.199, allocations: 19.91 kB / 1.365 GB, free: 11.58 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003696/1.199, allocations: 217.5 kB / 1.365 GB, free: 11.46 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004183/1.199, allocations: 337.5 kB / 1.366 GB, free: 11.18 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/1.199, allocations: 0 / 1.366 GB, free: 11.18 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.388e-05/1.2, allocations: 7.984 kB / 1.366 GB, free: 11.17 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-06/1.2, allocations: 12 kB / 1.366 GB, free: 11.16 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001432/1.201, allocations: 1.503 MB / 1.367 GB, free: 9.871 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004013/1.201, allocations: 255.8 kB / 1.367 GB, free: 9.703 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001353/1.202, allocations: 107.4 kB / 1.368 GB, free: 9.641 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 3.003e-05/1.202, allocations: 4 kB / 1.368 GB, free: 9.637 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.242e-05/1.202, allocations: 34.5 kB / 1.368 GB, free: 9.594 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=23): time 1.142e-06/1.202, allocations: 0 / 1.368 GB, free: 9.594 MB / 0.8073 GB Notification: Performance of matching and sorting (n=23): time 0.0003759/1.202, allocations: 249.2 kB / 1.368 GB, free: 9.414 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.333e-05/1.202, allocations: 166.1 kB / 1.368 GB, free: 9.215 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002902/1.202, allocations: 344.4 kB / 1.368 GB, free: 8.945 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.157e-05/1.202, allocations: 25.7 kB / 1.368 GB, free: 8.914 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 6.453e-05/1.202, allocations: 185.1 kB / 1.368 GB, free: 8.75 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.866e-05/1.202, allocations: 80.75 kB / 1.369 GB, free: 8.68 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.241e-05/1.202, allocations: 0 / 1.369 GB, free: 8.68 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.41e-05/1.203, allocations: 351 kB / 1.369 GB, free: 8.344 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001155/1.203, allocations: 79.38 kB / 1.369 GB, free: 8.305 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001538/1.203, allocations: 173 kB / 1.369 GB, free: 8.152 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001318/1.203, allocations: 99.69 kB / 1.369 GB, free: 8.098 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/1.203, allocations: 4 kB / 1.369 GB, free: 8.094 MB / 0.8073 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003548/1.203, allocations: 284.3 kB / 1.369 GB, free: 7.883 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 9.127e-06/1.203, allocations: 8 kB / 1.369 GB, free: 7.875 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/1.203, allocations: 0 / 1.369 GB, free: 7.875 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.107e-05/1.203, allocations: 4 kB / 1.37 GB, free: 7.871 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002993/1.204, allocations: 79.08 kB / 1.37 GB, free: 7.797 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.448e-06/1.204, allocations: 0 / 1.37 GB, free: 7.797 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002499/1.204, allocations: 51.81 kB / 1.37 GB, free: 7.746 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.065e-05/1.204, allocations: 11.94 kB / 1.37 GB, free: 7.738 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 2 (conHeaFan.conFan.I.trigger_internal,conHeaFan.conHeaCoi.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 31 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.057e-05/1.204, allocations: 116.8 kB / 1.37 GB, free: 7.617 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.08e-05/1.204, allocations: 39.53 kB / 1.37 GB, free: 7.578 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.307e-05/1.204, allocations: 52.94 kB / 1.37 GB, free: 7.543 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/1.204, allocations: 0 / 1.37 GB, free: 7.543 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-06/1.204, allocations: 4 kB / 1.37 GB, free: 7.539 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/1.204, allocations: 0 / 1.37 GB, free: 7.539 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003289/1.205, allocations: 430.9 kB / 1.37 GB, free: 7.195 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/1.205, allocations: 0 / 1.37 GB, free: 7.195 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000289/1.205, allocations: 71.14 kB / 1.37 GB, free: 7.129 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/1.205, allocations: 0 / 1.37 GB, free: 7.129 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.092e-05/1.205, allocations: 4 kB / 1.37 GB, free: 7.125 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/1.205, allocations: 3.938 kB / 1.37 GB, free: 7.121 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/1.205, allocations: 0 / 1.37 GB, free: 7.121 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005108/1.205, allocations: 487.5 kB / 1.371 GB, free: 6.77 MB / 0.8073 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006669/1.206, allocations: 0.9925 MB / 1.372 GB, free: 5.973 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001182/1.206, allocations: 154.8 kB / 1.372 GB, free: 5.824 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.904e-05/1.206, allocations: 0 / 1.372 GB, free: 5.824 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002739/1.207, allocations: 36.09 kB / 1.372 GB, free: 5.789 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.165e-05/1.207, allocations: 14.41 kB / 1.372 GB, free: 5.777 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.719e-05/1.207, allocations: 7.812 kB / 1.372 GB, free: 5.773 MB / 0.8073 GB Notification: Performance of sort global known variables: time 0.0002014/1.207, allocations: 261.2 kB / 1.372 GB, free: 5.582 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0008377/1.208, allocations: 83.69 kB / 1.372 GB, free: 5.5 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (conHeaFan.conHeaCoi.I.y,conHeaFan.conFan.I.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 23 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001014/1.208, allocations: 104.7 kB / 1.372 GB, free: 5.391 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0003104/1.208, allocations: 216.9 kB / 1.373 GB, free: 5.258 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/1.208, allocations: 0 / 1.373 GB, free: 5.258 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0001348/1.208, allocations: 115.3 kB / 1.373 GB, free: 5.188 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005012/1.209, allocations: 97.36 kB / 1.373 GB, free: 5.109 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009375/1.21, allocations: 0.5156 MB / 1.373 GB, free: 4.637 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004209/1.21, allocations: 0.869 MB / 1.374 GB, free: 19.73 MB / 0.823 GB Notification: Performance of SimCode: time 2.51e-07/1.21, allocations: 0 / 1.374 GB, free: 19.73 MB / 0.823 GB (rm -f Buildings_9_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe ; mkfifo Buildings_9_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe ; head -c 1048576 < Buildings_9_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe >> ../files/Buildings_9_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan_res.mat --tempDir=temp_Buildings_9_Buildings_Air_Systems_SingleZone_VAV_BaseClasses_Validation_ControllerHeatingFan_fmu --startTime=0 --stopTime=604800 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Air_Systems_SingleZone_VAV_BaseClasses_Validation_ControllerHeatingFan.fmu > Buildings_9_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan_res.mat does not exist to compare? outputFormat=mat