Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.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.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan,fileNamePrefix="Buildings_latest_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_latest_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 10.0.0-master/package.mo): time 1.82/1.82, allocations: 390.4 MB / 397.7 MB, free: 11.12 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.0009751/0.0009751, allocations: 181.2 kB / 490.8 MB, free: 1.734 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.141/1.141, allocations: 221.4 MB / 0.7863 GB, free: 13.49 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008771/0.0008772, allocations: 90.72 kB / 0.9264 GB, free: 14.02 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.4476/0.4485, allocations: 149.1 MB / 1.072 GB, free: 182.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1897/0.6382, allocations: 143 MB / 1.212 GB, free: 39.86 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5172/1.155, allocations: 154.6 MB / 1.363 GB, free: 17.03 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002182/1.156, allocations: 94.48 kB / 1.363 GB, free: 17.03 MB / 0.823 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.02029/1.176, allocations: 9.176 MB / 1.372 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.199e-05/1.176, allocations: 8.344 kB / 1.372 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.861e-05/1.176, allocations: 55.98 kB / 1.372 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005725/1.177, allocations: 477 kB / 1.372 GB, free: 31.69 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.509e-05/1.177, allocations: 9.375 kB / 1.372 GB, free: 31.69 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.293e-05/1.177, allocations: 25.58 kB / 1.372 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003901/1.177, allocations: 211.9 kB / 1.372 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004399/1.178, allocations: 344.7 kB / 1.373 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/1.178, allocations: 5.094 kB / 1.373 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.956e-05/1.178, allocations: 1.125 kB / 1.373 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.586e-06/1.178, allocations: 6.906 kB / 1.373 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001581/1.179, allocations: 1.499 MB / 1.374 GB, free: 30.74 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004287/1.18, allocations: 254.1 kB / 1.375 GB, free: 30.7 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001487/1.18, allocations: 109.3 kB / 1.375 GB, free: 30.69 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.987e-05/1.18, allocations: 4.906 kB / 1.375 GB, free: 30.69 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.452e-05/1.18, allocations: 43.28 kB / 1.375 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=23): time 1.292e-06/1.18, allocations: 1.219 kB / 1.375 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of matching and sorting (n=23): time 0.0004217/1.18, allocations: 245.9 kB / 1.375 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.182e-05/1.18, allocations: 159.2 kB / 1.375 GB, free: 30.4 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003504/1.181, allocations: 340.7 kB / 1.375 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.299e-05/1.181, allocations: 27.36 kB / 1.375 GB, free: 30.26 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 9.353e-05/1.181, allocations: 183.9 kB / 1.376 GB, free: 30.13 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.407e-05/1.181, allocations: 72.77 kB / 1.376 GB, free: 30.09 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.644e-05/1.181, allocations: 4 kB / 1.376 GB, free: 30.08 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001448/1.181, allocations: 358.7 kB / 1.376 GB, free: 29.77 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001302/1.181, allocations: 81.22 kB / 1.376 GB, free: 29.77 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001753/1.181, allocations: 160.9 kB / 1.376 GB, free: 29.68 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001575/1.182, allocations: 105.8 kB / 1.376 GB, free: 29.67 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/1.182, allocations: 1.094 kB / 1.376 GB, free: 29.67 MB / 0.8386 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004235/1.182, allocations: 291.3 kB / 1.377 GB, free: 29.6 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.118e-05/1.182, allocations: 6.078 kB / 1.377 GB, free: 29.6 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/1.182, allocations: 1.406 kB / 1.377 GB, free: 29.6 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/1.182, allocations: 3.062 kB / 1.377 GB, free: 29.6 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003185/1.182, allocations: 74.59 kB / 1.377 GB, free: 29.59 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.684e-06/1.182, allocations: 3.453 kB / 1.377 GB, free: 29.59 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002625/1.183, allocations: 44.89 kB / 1.377 GB, free: 29.58 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.543e-05/1.183, allocations: 12.75 kB / 1.377 GB, free: 29.58 MB / 0.8386 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 8.76e-05/1.183, allocations: 112 kB / 1.377 GB, free: 29.46 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.841e-05/1.183, allocations: 45.28 kB / 1.377 GB, free: 29.44 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.494e-05/1.183, allocations: 49.02 kB / 1.377 GB, free: 29.43 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/1.183, allocations: 7.281 kB / 1.377 GB, free: 29.43 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/1.183, allocations: 0.75 kB / 1.377 GB, free: 29.43 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/1.183, allocations: 1.219 kB / 1.377 GB, free: 29.43 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004298/1.183, allocations: 434.2 kB / 1.377 GB, free: 29.26 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/1.183, allocations: 0.875 kB / 1.377 GB, free: 29.26 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003125/1.184, allocations: 65.16 kB / 1.377 GB, free: 29.25 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/1.184, allocations: 1.047 kB / 1.377 GB, free: 29.25 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.325e-05/1.184, allocations: 11.22 kB / 1.377 GB, free: 29.25 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/1.184, allocations: 0.9375 kB / 1.377 GB, free: 29.25 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/1.184, allocations: 0.5156 kB / 1.377 GB, free: 29.25 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006092/1.184, allocations: 492.2 kB / 1.378 GB, free: 29.08 MB / 0.8386 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0009229/1.185, allocations: 0.9858 MB / 1.379 GB, free: 28.55 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001338/1.185, allocations: 160.2 kB / 1.379 GB, free: 28.42 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.153e-05/1.186, allocations: 2.828 kB / 1.379 GB, free: 28.42 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002839/1.186, allocations: 33.41 kB / 1.379 GB, free: 28.42 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.536e-05/1.186, allocations: 10.59 kB / 1.379 GB, free: 28.42 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.061e-05/1.186, allocations: 9.219 kB / 1.379 GB, free: 28.42 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.0002659/1.186, allocations: 265.7 kB / 1.379 GB, free: 28.33 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0008542/1.187, allocations: 72.56 kB / 1.379 GB, free: 28.32 MB / 0.8386 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.0001165/1.187, allocations: 108.9 kB / 1.38 GB, free: 28.23 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.000352/1.188, allocations: 213.1 kB / 1.38 GB, free: 28.21 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/1.188, allocations: 3.625 kB / 1.38 GB, free: 28.21 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001579/1.188, allocations: 107 kB / 1.38 GB, free: 28.21 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005516/1.188, allocations: 93.38 kB / 1.38 GB, free: 28.21 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001042/1.189, allocations: 0.5124 MB / 1.38 GB, free: 28 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005436/1.19, allocations: 0.8665 MB / 1.381 GB, free: 27.28 MB / 0.8386 GB Notification: Performance of SimCode: time 2.41e-07/1.19, allocations: 0 / 1.381 GB, free: 27.28 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe ; mkfifo Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe ; head -c 1048576 < Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe >> ../files/Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan_res.mat --tempDir=temp_Buildings_latest_Buildings_Air_Systems_SingleZone_VAV_BaseClasses_Validation_ControllerHeatingFan_fmu --startTime=0 --stopTime=604800 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Air_Systems_SingleZone_VAV_BaseClasses_Validation_ControllerHeatingFan.fmu > Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan_res.mat does not exist to compare? outputFormat=mat