Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanAirflowTracking.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.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanAirflowTracking,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_AHUs_MultiZone_VAV_SetPoints_Validation_ReturnFanAirflowTracking",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanAirflowTracking,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_AHUs_MultiZone_VAV_SetPoints_Validation_ReturnFanAirflowTracking",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.79/1.79, allocations: 390.4 MB / 397.7 MB, free: 1.965 MB / 307 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009792/0.0009792, allocations: 183.6 kB / 490.8 MB, free: 7.539 MB / 403 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.158/1.158, allocations: 221.3 MB / 0.7863 GB, free: 292 kB / 0.5498 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008683/0.0008684, allocations: 87.97 kB / 0.9264 GB, free: 0.6719 MB / 0.6904 GB Notification: Performance of FrontEnd - loaded program: time 0.3895/0.3904, allocations: 149.2 MB / 1.072 GB, free: 137.4 MB / 0.7217 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1962/0.5866, allocations: 143 MB / 1.212 GB, free: 10.44 MB / 0.7373 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5363/1.123, allocations: 151.7 MB / 1.36 GB, free: 10.29 MB / 0.8311 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001943/1.123, allocations: 75.94 kB / 1.36 GB, free: 10.21 MB / 0.8311 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 117 * Number of variables: 117 Notification: Performance of Generate backend data structure: time 0.02257/1.146, allocations: 9.627 MB / 1.369 GB, free: 0.543 MB / 0.8311 GB Notification: Performance of prepare preOptimizeDAE: time 3.532e-05/1.146, allocations: 12 kB / 1.369 GB, free: 0.5312 MB / 0.8311 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001374/1.146, allocations: 71.14 kB / 1.369 GB, free: 472 kB / 0.8311 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006078/1.147, allocations: 407.5 kB / 1.37 GB, free: 28 kB / 0.8311 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.533e-05/1.147, allocations: 16 kB / 1.37 GB, free: 12 kB / 0.8311 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.132e-05/1.147, allocations: 36.05 kB / 1.37 GB, free: 15.97 MB / 0.8467 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005683/1.147, allocations: 277.9 kB / 1.37 GB, free: 15.7 MB / 0.8467 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006133/1.148, allocations: 397.1 kB / 1.37 GB, free: 15.3 MB / 0.8467 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/1.148, allocations: 0 / 1.37 GB, free: 15.3 MB / 0.8467 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.503e-05/1.148, allocations: 7.891 kB / 1.37 GB, free: 15.29 MB / 0.8467 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.37e-05/1.148, allocations: 19.98 kB / 1.371 GB, free: 15.27 MB / 0.8467 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00208/1.15, allocations: 1.522 MB / 1.372 GB, free: 13.7 MB / 0.8467 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009668/1.151, allocations: 0.4942 MB / 1.372 GB, free: 13.16 MB / 0.8467 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003809/1.151, allocations: 222.1 kB / 1.373 GB, free: 12.95 MB / 0.8467 GB Notification: Performance of preOpt evalFunc (simulation): time 3.365e-05/1.151, allocations: 4.281 kB / 1.373 GB, free: 12.94 MB / 0.8467 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000243/1.152, allocations: 179.1 kB / 1.373 GB, free: 12.75 MB / 0.8467 GB Notification: Performance of pre-optimization done (n=37): time 1.583e-06/1.152, allocations: 0 / 1.373 GB, free: 12.75 MB / 0.8467 GB Notification: Performance of matching and sorting (n=37): time 0.0004725/1.152, allocations: 288.9 kB / 1.373 GB, free: 12.46 MB / 0.8467 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.512e-05/1.152, allocations: 110.8 kB / 1.373 GB, free: 12.33 MB / 0.8467 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002966/1.153, allocations: 298 kB / 1.374 GB, free: 12.03 MB / 0.8467 GB Notification: Performance of collectPreVariables (initialization): time 3.275e-05/1.153, allocations: 25.7 kB / 1.374 GB, free: 12 MB / 0.8467 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001154/1.153, allocations: 220.1 kB / 1.374 GB, free: 11.78 MB / 0.8467 GB Notification: Performance of collectInitialBindings (initialization): time 7.919e-05/1.153, allocations: 106.3 kB / 1.374 GB, free: 11.68 MB / 0.8467 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.342e-05/1.153, allocations: 7.938 kB / 1.374 GB, free: 11.67 MB / 0.8467 GB Notification: Performance of setup shared object (initialization): time 0.0001032/1.153, allocations: 346.8 kB / 1.374 GB, free: 11.32 MB / 0.8467 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001937/1.153, allocations: 116.3 kB / 1.374 GB, free: 11.2 MB / 0.8467 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002259/1.153, allocations: 184 kB / 1.374 GB, free: 11 MB / 0.8467 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003294/1.154, allocations: 143.7 kB / 1.375 GB, free: 10.86 MB / 0.8467 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/1.154, allocations: 0 / 1.375 GB, free: 10.86 MB / 0.8467 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006439/1.154, allocations: 360.7 kB / 1.375 GB, free: 10.5 MB / 0.8467 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001342/1.155, allocations: 449 kB / 1.375 GB, free: 10.02 MB / 0.8467 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-06/1.155, allocations: 3.984 kB / 1.375 GB, free: 10.02 MB / 0.8467 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/1.155, allocations: 4 kB / 1.375 GB, free: 10.02 MB / 0.8467 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003728/1.155, allocations: 91.89 kB / 1.376 GB, free: 9.926 MB / 0.8467 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.892e-06/1.155, allocations: 0 / 1.376 GB, free: 9.926 MB / 0.8467 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00042/1.155, allocations: 111.6 kB / 1.376 GB, free: 9.816 MB / 0.8467 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.12e-05/1.155, allocations: 23.97 kB / 1.376 GB, free: 9.793 MB / 0.8467 GB Notification: Performance of prepare postOptimizeDAE: time 6.813e-06/1.155, allocations: 4 kB / 1.376 GB, free: 9.789 MB / 0.8467 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005693/1.156, allocations: 275.3 kB / 1.376 GB, free: 9.52 MB / 0.8467 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.577e-06/1.156, allocations: 4 kB / 1.376 GB, free: 9.516 MB / 0.8467 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.737e-06/1.156, allocations: 0 / 1.376 GB, free: 9.516 MB / 0.8467 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002854/1.156, allocations: 84.02 kB / 1.376 GB, free: 9.434 MB / 0.8467 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.364e-06/1.156, allocations: 0 / 1.376 GB, free: 9.434 MB / 0.8467 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003647/1.157, allocations: 91.69 kB / 1.376 GB, free: 9.344 MB / 0.8467 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.946e-05/1.157, allocations: 8 kB / 1.376 GB, free: 9.336 MB / 0.8467 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,$PRE.yFan.y,yFan.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 1 * 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 0.0001015/1.157, allocations: 116.9 kB / 1.376 GB, free: 9.215 MB / 0.8467 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.161e-05/1.157, allocations: 43.53 kB / 1.376 GB, free: 9.172 MB / 0.8467 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.212e-05/1.157, allocations: 36.09 kB / 1.376 GB, free: 9.133 MB / 0.8467 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/1.157, allocations: 7.906 kB / 1.376 GB, free: 9.125 MB / 0.8467 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/1.157, allocations: 0 / 1.376 GB, free: 9.125 MB / 0.8467 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/1.157, allocations: 0 / 1.376 GB, free: 9.125 MB / 0.8467 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001009/1.158, allocations: 0.8732 MB / 1.377 GB, free: 8.207 MB / 0.8467 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/1.158, allocations: 3.984 kB / 1.377 GB, free: 8.203 MB / 0.8467 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003734/1.158, allocations: 87.89 kB / 1.377 GB, free: 8.117 MB / 0.8467 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.3e-06/1.158, allocations: 4 kB / 1.377 GB, free: 8.113 MB / 0.8467 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.436e-05/1.159, allocations: 7.984 kB / 1.377 GB, free: 8.105 MB / 0.8467 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/1.159, allocations: 4 kB / 1.377 GB, free: 8.102 MB / 0.8467 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/1.159, allocations: 0 / 1.377 GB, free: 8.102 MB / 0.8467 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006505/1.159, allocations: 0.5349 MB / 1.378 GB, free: 7.551 MB / 0.8467 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000871/1.16, allocations: 1.071 MB / 1.379 GB, free: 6.461 MB / 0.8467 GB Notification: Performance of postOpt removeConstants (simulation): time 6.997e-05/1.16, allocations: 120.5 kB / 1.379 GB, free: 6.324 MB / 0.8467 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.068e-05/1.16, allocations: 3.984 kB / 1.379 GB, free: 6.32 MB / 0.8467 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002704/1.16, allocations: 44.03 kB / 1.379 GB, free: 6.277 MB / 0.8467 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.183e-05/1.161, allocations: 19.97 kB / 1.379 GB, free: 6.258 MB / 0.8467 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.728e-05/1.161, allocations: 15.98 kB / 1.379 GB, free: 6.242 MB / 0.8467 GB Notification: Performance of sort global known variables: time 0.000201/1.161, allocations: 224.6 kB / 1.379 GB, free: 6.023 MB / 0.8467 GB Notification: Performance of remove unused functions: time 0.00158/1.162, allocations: 179.1 kB / 1.379 GB, free: 5.848 MB / 0.8467 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (retFanAirTra.conP.I.y,retFanAirTra1.conP.I.y) * Number of discrete variables: 5 ($whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,yFan.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001665/1.163, allocations: 135 kB / 1.38 GB, free: 5.707 MB / 0.8467 GB Notification: Performance of simCode: created initialization part: time 0.0007486/1.163, allocations: 0.5013 MB / 1.38 GB, free: 5.195 MB / 0.8467 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/1.163, allocations: 0 / 1.38 GB, free: 5.195 MB / 0.8467 GB Notification: Performance of simCode: created simulation system equations: time 0.0002059/1.164, allocations: 143.9 kB / 1.38 GB, free: 5.055 MB / 0.8467 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004722/1.164, allocations: 79.41 kB / 1.38 GB, free: 4.977 MB / 0.8467 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001193/1.165, allocations: 0.6126 MB / 1.381 GB, free: 4.332 MB / 0.8467 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000462/1.166, allocations: 0.8896 MB / 1.382 GB, free: 3.414 MB / 0.8467 GB Notification: Performance of SimCode: time 2.5e-07/1.166, allocations: 4 kB / 1.382 GB, free: 3.41 MB / 0.8467 GB (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanAirflowTracking.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanAirflowTracking.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanAirflowTracking.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanAirflowTracking.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanAirflowTracking_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_AHUs_MultiZone_VAV_SetPoints_Validation_ReturnFanAirflowTracking_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_AHUs_MultiZone_VAV_SetPoints_Validation_ReturnFanAirflowTracking.fmu > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanAirflowTracking.pipe 2>&1)