Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanAirflowTracking.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.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanAirflowTracking,fileNamePrefix="Buildings_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 1.864/1.864, 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.001031/0.001031, allocations: 192.8 kB / 487 MB, free: 5.289 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.165/1.165, allocations: 221.3 MB / 0.7819 GB, free: 1.316 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.0008795/0.0008795, allocations: 93.67 kB / 0.9213 GB, free: 2.578 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.4397/0.4406, allocations: 148.5 MB / 1.066 GB, free: 168.1 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1961/0.6368, allocations: 142.3 MB / 1.205 GB, free: 26.04 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5461/1.183, allocations: 150.9 MB / 1.353 GB, free: 15.9 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002701/1.183, allocations: 83.59 kB / 1.353 GB, free: 15.9 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: 117 * Number of variables: 117 Notification: Performance of Generate backend data structure: time 0.0235/1.207, allocations: 9.626 MB / 1.362 GB, free: 13.89 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.188e-05/1.207, allocations: 12 kB / 1.362 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.909e-05/1.207, allocations: 71.16 kB / 1.362 GB, free: 13.81 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004531/1.207, allocations: 406.5 kB / 1.363 GB, free: 13.45 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.945e-05/1.207, allocations: 19.56 kB / 1.363 GB, free: 13.43 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.332e-05/1.207, allocations: 35.98 kB / 1.363 GB, free: 13.4 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004935/1.208, allocations: 278.7 kB / 1.363 GB, free: 13.24 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005379/1.208, allocations: 398 kB / 1.363 GB, free: 12.95 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.375e-05/1.208, allocations: 11.83 kB / 1.363 GB, free: 12.94 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.12e-05/1.209, allocations: 0 / 1.363 GB, free: 12.94 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.909e-06/1.209, allocations: 16 kB / 1.363 GB, free: 12.92 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001674/1.21, allocations: 1.528 MB / 1.365 GB, free: 11.72 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005831/1.211, allocations: 0.4887 MB / 1.365 GB, free: 11.3 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000338/1.211, allocations: 230.2 kB / 1.366 GB, free: 11.14 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 3.042e-05/1.211, allocations: 288 / 1.366 GB, free: 11.14 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002087/1.211, allocations: 174.9 kB / 1.366 GB, free: 11.01 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=37): time 1.232e-06/1.211, allocations: 0 / 1.366 GB, free: 11.01 MB / 0.8073 GB Notification: Performance of matching and sorting (n=37): time 0.0004167/1.212, allocations: 287.9 kB / 1.366 GB, free: 10.8 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.944e-05/1.212, allocations: 110.8 kB / 1.366 GB, free: 10.66 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002466/1.212, allocations: 301.4 kB / 1.366 GB, free: 10.43 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 3.068e-05/1.212, allocations: 25.7 kB / 1.366 GB, free: 10.4 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 8.351e-05/1.212, allocations: 213.6 kB / 1.367 GB, free: 10.21 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 5.816e-05/1.212, allocations: 111.8 kB / 1.367 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.149e-05/1.212, allocations: 4 kB / 1.367 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 5.936e-05/1.212, allocations: 349.4 kB / 1.367 GB, free: 9.777 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001688/1.213, allocations: 108.9 kB / 1.367 GB, free: 9.715 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001926/1.213, allocations: 183.3 kB / 1.367 GB, free: 9.566 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002947/1.213, allocations: 130.4 kB / 1.367 GB, free: 9.484 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/1.213, allocations: 4 kB / 1.367 GB, free: 9.48 MB / 0.8073 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005518/1.214, allocations: 368.6 kB / 1.368 GB, free: 9.207 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 8.049e-05/1.214, allocations: 452.1 kB / 1.368 GB, free: 8.738 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/1.214, allocations: 0 / 1.368 GB, free: 8.738 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/1.214, allocations: 4 kB / 1.368 GB, free: 8.734 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003385/1.214, allocations: 95.56 kB / 1.368 GB, free: 8.645 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/1.214, allocations: 0 / 1.368 GB, free: 8.645 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003872/1.215, allocations: 111.6 kB / 1.368 GB, free: 8.535 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.216e-05/1.215, allocations: 15.62 kB / 1.368 GB, free: 8.523 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 4.729e-06/1.215, allocations: 7.938 kB / 1.368 GB, free: 8.516 MB / 0.8073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004751/1.215, allocations: 275.7 kB / 1.369 GB, free: 8.328 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.515e-06/1.215, allocations: 4 kB / 1.369 GB, free: 8.324 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.156e-06/1.215, allocations: 0 / 1.369 GB, free: 8.324 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002709/1.215, allocations: 79.78 kB / 1.369 GB, free: 8.25 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.757e-06/1.215, allocations: 3.984 kB / 1.369 GB, free: 8.246 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003326/1.216, allocations: 87.69 kB / 1.369 GB, free: 8.16 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.646e-05/1.216, allocations: 19.88 kB / 1.369 GB, free: 8.145 MB / 0.8073 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 8.692e-05/1.216, allocations: 109.3 kB / 1.369 GB, free: 8.031 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.283e-05/1.216, allocations: 43.53 kB / 1.369 GB, free: 7.988 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.68e-05/1.216, allocations: 41.25 kB / 1.369 GB, free: 7.961 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/1.216, allocations: 4 kB / 1.369 GB, free: 7.957 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/1.216, allocations: 3.984 kB / 1.369 GB, free: 7.953 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/1.216, allocations: 3.938 kB / 1.369 GB, free: 7.949 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008598/1.217, allocations: 0.8754 MB / 1.37 GB, free: 7.285 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/1.217, allocations: 0 / 1.37 GB, free: 7.285 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003458/1.217, allocations: 91.56 kB / 1.37 GB, free: 7.199 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/1.217, allocations: 8 kB / 1.37 GB, free: 7.191 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.11e-05/1.217, allocations: 4 kB / 1.37 GB, free: 7.188 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/1.217, allocations: 0 / 1.37 GB, free: 7.188 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/1.217, allocations: 4 kB / 1.37 GB, free: 7.184 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005545/1.218, allocations: 0.5302 MB / 1.371 GB, free: 6.789 MB / 0.8073 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0007438/1.219, allocations: 1.063 MB / 1.372 GB, free: 5.941 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 5.559e-05/1.219, allocations: 124.1 kB / 1.372 GB, free: 5.805 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.081e-05/1.219, allocations: 4 kB / 1.372 GB, free: 5.801 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002638/1.219, allocations: 43.95 kB / 1.372 GB, free: 5.758 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.786e-05/1.219, allocations: 19.72 kB / 1.372 GB, free: 5.742 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.083e-05/1.219, allocations: 11.38 kB / 1.372 GB, free: 5.734 MB / 0.8073 GB Notification: Performance of sort global known variables: time 0.0001916/1.219, allocations: 224.8 kB / 1.372 GB, free: 5.566 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.00171/1.221, allocations: 183 kB / 1.372 GB, free: 5.391 MB / 0.8073 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.000179/1.221, allocations: 132.3 kB / 1.372 GB, free: 5.254 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0006311/1.222, allocations: 0.5014 MB / 1.373 GB, free: 4.902 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/1.222, allocations: 0 / 1.373 GB, free: 4.902 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0001712/1.222, allocations: 138.2 kB / 1.373 GB, free: 4.812 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004833/1.222, allocations: 81.22 kB / 1.373 GB, free: 4.746 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001152/1.224, allocations: 0.619 MB / 1.374 GB, free: 4.176 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004105/1.224, allocations: 0.8965 MB / 1.375 GB, free: 19.25 MB / 0.823 GB Notification: Performance of SimCode: time 2.51e-07/1.224, allocations: 4 kB / 1.375 GB, free: 19.25 MB / 0.823 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanAirflowTracking.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanAirflowTracking.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanAirflowTracking.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanAirflowTracking.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanAirflowTracking_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_AHUs_MultiZone_VAV_SetPoints_Validation_ReturnFanAirflowTracking_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_AHUs_MultiZone_VAV_SetPoints_Validation_ReturnFanAirflowTracking.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanAirflowTracking.pipe 2>&1)