Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ExhaustDamper.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_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ExhaustDamper,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_SetPoints_Validation_ExhaustDamper",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ExhaustDamper,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_SetPoints_Validation_ExhaustDamper",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.845/1.845, allocations: 387.2 MB / 394.5 MB, free: 13.67 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.001022/0.001022, allocations: 188.4 kB / 487 MB, free: 5.398 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.175/1.175, allocations: 221.3 MB / 0.7819 GB, free: 1.445 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.0008582/0.0008584, allocations: 95.11 kB / 0.9213 GB, free: 2.707 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.4415/0.4424, allocations: 148.5 MB / 1.066 GB, free: 168.1 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1862/0.6286, allocations: 142.3 MB / 1.205 GB, free: 26.11 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5224/1.151, allocations: 150.3 MB / 1.352 GB, free: 15.68 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001874/1.151, allocations: 80.8 kB / 1.352 GB, free: 15.68 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: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.02727/1.179, allocations: 11.74 MB / 1.364 GB, free: 12.89 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.143e-05/1.179, allocations: 13 kB / 1.364 GB, free: 12.88 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001062/1.179, allocations: 75.14 kB / 1.364 GB, free: 12.8 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004607/1.179, allocations: 430.1 kB / 1.364 GB, free: 12.43 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.229e-05/1.179, allocations: 106.4 kB / 1.364 GB, free: 12.31 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.899e-05/1.179, allocations: 40 kB / 1.364 GB, free: 12.27 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005421/1.18, allocations: 342.1 kB / 1.365 GB, free: 12.08 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006107/1.181, allocations: 463.6 kB / 1.365 GB, free: 11.74 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.867e-05/1.181, allocations: 7.938 kB / 1.365 GB, free: 11.73 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.711e-05/1.181, allocations: 6.906 kB / 1.365 GB, free: 11.73 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.036e-05/1.181, allocations: 12 kB / 1.365 GB, free: 11.71 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001919/1.183, allocations: 1.759 MB / 1.367 GB, free: 10.34 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005856/1.183, allocations: 347 kB / 1.367 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002207/1.183, allocations: 177.6 kB / 1.367 GB, free: 10.01 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 3.451e-05/1.183, allocations: 12.25 kB / 1.367 GB, free: 9.996 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002413/1.184, allocations: 200.6 kB / 1.368 GB, free: 9.852 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=43): time 1.913e-06/1.184, allocations: 0 / 1.368 GB, free: 9.852 MB / 0.8073 GB Notification: Performance of matching and sorting (n=43): time 0.0004662/1.184, allocations: 314 kB / 1.368 GB, free: 9.621 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.041e-05/1.184, allocations: 143.7 kB / 1.368 GB, free: 9.453 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002785/1.185, allocations: 329.6 kB / 1.368 GB, free: 9.195 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.803e-05/1.185, allocations: 25.7 kB / 1.368 GB, free: 9.164 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 8.69e-05/1.185, allocations: 233.3 kB / 1.369 GB, free: 8.957 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 6.695e-05/1.185, allocations: 135.6 kB / 1.369 GB, free: 8.84 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.776e-05/1.185, allocations: 0 / 1.369 GB, free: 8.84 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.385e-05/1.185, allocations: 353.8 kB / 1.369 GB, free: 8.504 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001737/1.185, allocations: 121.9 kB / 1.369 GB, free: 8.438 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002151/1.185, allocations: 211.8 kB / 1.369 GB, free: 8.266 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000187/1.185, allocations: 139.7 kB / 1.369 GB, free: 8.188 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/1.185, allocations: 0 / 1.369 GB, free: 8.188 MB / 0.8073 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0004841/1.186, allocations: 383.5 kB / 1.37 GB, free: 7.91 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 6.127e-05/1.186, allocations: 367 kB / 1.37 GB, free: 7.531 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/1.186, allocations: 4 kB / 1.37 GB, free: 7.527 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/1.186, allocations: 4 kB / 1.37 GB, free: 7.523 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004009/1.186, allocations: 107.7 kB / 1.37 GB, free: 7.422 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.079e-06/1.186, allocations: 4 kB / 1.37 GB, free: 7.418 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003222/1.187, allocations: 83.55 kB / 1.37 GB, free: 7.336 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.932e-05/1.187, allocations: 15.81 kB / 1.37 GB, free: 7.324 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 4.619e-06/1.187, allocations: 4 kB / 1.37 GB, free: 7.32 MB / 0.8073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003701/1.187, allocations: 285.9 kB / 1.371 GB, free: 7.133 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.053e-06/1.187, allocations: 3.938 kB / 1.371 GB, free: 7.129 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.346e-06/1.187, allocations: 4 kB / 1.371 GB, free: 7.125 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002938/1.187, allocations: 83.41 kB / 1.371 GB, free: 7.047 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.364e-06/1.187, allocations: 4 kB / 1.371 GB, free: 7.043 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002358/1.188, allocations: 59.7 kB / 1.371 GB, free: 6.984 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.145e-05/1.188, allocations: 23.12 kB / 1.371 GB, free: 6.965 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,$PRE.exhDamPos.movMea.mode,exhDamPos.movMea.mode,$whenCondition2,$PRE.exhDamPos1.movMea.mode,exhDamPos1.movMea.mode,$whenCondition3,$PRE.exhDamPos2.movMea.mode,exhDamPos2.movMea.mode) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 55 * 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.48e-05/1.188, allocations: 123 kB / 1.371 GB, free: 6.844 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.861e-05/1.188, allocations: 43.44 kB / 1.371 GB, free: 6.801 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.57e-05/1.188, allocations: 43.25 kB / 1.371 GB, free: 6.777 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.92e-06/1.188, allocations: 7.938 kB / 1.371 GB, free: 6.77 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/1.188, allocations: 0 / 1.371 GB, free: 6.77 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/1.188, allocations: 3.984 kB / 1.371 GB, free: 6.766 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003898/1.188, allocations: 0.508 MB / 1.372 GB, free: 6.363 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/1.188, allocations: 0 / 1.372 GB, free: 6.363 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003839/1.189, allocations: 95.39 kB / 1.372 GB, free: 6.273 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.379e-06/1.189, allocations: 7.984 kB / 1.372 GB, free: 6.266 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.64e-05/1.189, allocations: 4 kB / 1.372 GB, free: 6.262 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/1.189, allocations: 4 kB / 1.372 GB, free: 6.258 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/1.189, allocations: 3.906 kB / 1.372 GB, free: 6.254 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006542/1.19, allocations: 0.5228 MB / 1.372 GB, free: 5.887 MB / 0.8073 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0008784/1.19, allocations: 1.094 MB / 1.373 GB, free: 5.039 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 6.351e-05/1.19, allocations: 123.8 kB / 1.373 GB, free: 4.906 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.068e-05/1.191, allocations: 3.906 kB / 1.373 GB, free: 4.902 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002712/1.191, allocations: 56.02 kB / 1.373 GB, free: 4.848 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.347e-05/1.191, allocations: 19.34 kB / 1.373 GB, free: 4.832 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.429e-05/1.191, allocations: 15.42 kB / 1.373 GB, free: 4.82 MB / 0.8073 GB Notification: Performance of sort global known variables: time 0.0002008/1.191, allocations: 254.9 kB / 1.374 GB, free: 4.633 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.001519/1.193, allocations: 195 kB / 1.374 GB, free: 4.441 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (exhDamPos.movMea.mu,exhDamPos1.movMea.mu,exhDamPos2.movMea.mu) * Number of discrete variables: 6 ($whenCondition3,$whenCondition2,$whenCondition1,exhDamPos.movMea.mode,exhDamPos1.movMea.mode,exhDamPos2.movMea.mode) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001229/1.193, allocations: 108.6 kB / 1.374 GB, free: 4.328 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0006235/1.193, allocations: 498.3 kB / 1.374 GB, free: 4.012 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/1.193, allocations: 3.938 kB / 1.374 GB, free: 4.012 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.000196/1.194, allocations: 157.4 kB / 1.375 GB, free: 3.906 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005007/1.194, allocations: 112.6 kB / 1.375 GB, free: 3.82 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001179/1.195, allocations: 0.6745 MB / 1.375 GB, free: 3.203 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004284/1.196, allocations: 0.9322 MB / 1.376 GB, free: 18.24 MB / 0.823 GB Notification: Performance of SimCode: time 3.2e-07/1.196, allocations: 0 / 1.376 GB, free: 18.24 MB / 0.823 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ExhaustDamper.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ExhaustDamper.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ExhaustDamper.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ExhaustDamper.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ExhaustDamper_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_SetPoints_Validation_ExhaustDamper_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_SetPoints_Validation_ExhaustDamper.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ExhaustDamper.pipe 2>&1)