Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ExhaustDamper.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.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ExhaustDamper,fileNamePrefix="Buildings_latest_Buildings_Obsolete_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_SetPoints_Validation_ExhaustDamper",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ExhaustDamper,fileNamePrefix="Buildings_latest_Buildings_Obsolete_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 10.0.0-master/package.mo): time 2.005/2.005, allocations: 390.4 MB / 397.7 MB, free: 11.18 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.001051/0.001051, allocations: 181.3 kB / 490.8 MB, free: 1.879 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.339/1.339, allocations: 221.4 MB / 0.7863 GB, free: 13.59 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.0009065/0.0009065, allocations: 93.33 kB / 0.9264 GB, free: 14.12 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.587/0.588, allocations: 149.2 MB / 1.072 GB, free: 182.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2658/0.8538, allocations: 143 MB / 1.212 GB, free: 39.87 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7514/1.605, allocations: 151.6 MB / 1.36 GB, free: 17.35 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002621/1.606, allocations: 86.64 kB / 1.36 GB, free: 17.35 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: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.03101/1.637, allocations: 11.83 MB / 1.371 GB, free: 32.13 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.805e-05/1.637, allocations: 8.469 kB / 1.371 GB, free: 32.13 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003534/1.637, allocations: 77.02 kB / 1.372 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001024/1.638, allocations: 429.8 kB / 1.372 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001472/1.638, allocations: 105.6 kB / 1.372 GB, free: 31.74 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001493/1.638, allocations: 37.59 kB / 1.372 GB, free: 31.74 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009929/1.639, allocations: 347.3 kB / 1.372 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001039/1.64, allocations: 469.7 kB / 1.373 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.684e-05/1.64, allocations: 0.9688 kB / 1.373 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.584e-05/1.641, allocations: 2.625 kB / 1.373 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.166e-05/1.641, allocations: 18 kB / 1.373 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003291/1.644, allocations: 1.752 MB / 1.375 GB, free: 31.01 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007918/1.645, allocations: 347.5 kB / 1.375 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003116/1.645, allocations: 179.4 kB / 1.375 GB, free: 30.97 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 5.407e-05/1.645, allocations: 6.156 kB / 1.375 GB, free: 30.97 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003549/1.645, allocations: 195.1 kB / 1.375 GB, free: 30.92 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=43): time 3.146e-06/1.645, allocations: 288 / 1.375 GB, free: 30.92 MB / 0.8386 GB Notification: Performance of matching and sorting (n=43): time 0.0006908/1.646, allocations: 332.7 kB / 1.376 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.119e-05/1.646, allocations: 138.6 kB / 1.376 GB, free: 30.69 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004189/1.647, allocations: 325.8 kB / 1.376 GB, free: 30.58 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.427e-05/1.647, allocations: 26.73 kB / 1.376 GB, free: 30.55 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001529/1.647, allocations: 241.4 kB / 1.376 GB, free: 30.39 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 9.098e-05/1.647, allocations: 137.3 kB / 1.376 GB, free: 30.3 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.977e-05/1.647, allocations: 0 / 1.376 GB, free: 30.3 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001472/1.647, allocations: 357.3 kB / 1.377 GB, free: 29.99 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002267/1.647, allocations: 121.3 kB / 1.377 GB, free: 29.99 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002974/1.648, allocations: 208.2 kB / 1.377 GB, free: 29.91 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002672/1.648, allocations: 143.1 kB / 1.377 GB, free: 29.89 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/1.648, allocations: 0 / 1.377 GB, free: 29.89 MB / 0.8386 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.000714/1.649, allocations: 385.9 kB / 1.378 GB, free: 29.82 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.000179/1.649, allocations: 362.5 kB / 1.378 GB, free: 29.46 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.258e-06/1.649, allocations: 2.344 kB / 1.378 GB, free: 29.46 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.812e-05/1.649, allocations: 1.781 kB / 1.378 GB, free: 29.46 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005012/1.649, allocations: 112.6 kB / 1.378 GB, free: 29.45 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.083e-05/1.649, allocations: 3.828 kB / 1.378 GB, free: 29.45 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003893/1.65, allocations: 84.44 kB / 1.378 GB, free: 29.42 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.025e-05/1.65, allocations: 14.23 kB / 1.378 GB, free: 29.42 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.049e-05/1.65, allocations: 8.406 kB / 1.378 GB, free: 29.42 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005059/1.65, allocations: 277 kB / 1.378 GB, free: 29.41 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.497e-06/1.65, allocations: 5.938 kB / 1.378 GB, free: 29.41 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.219e-06/1.65, allocations: 3.25 kB / 1.378 GB, free: 29.41 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003318/1.651, allocations: 85.38 kB / 1.378 GB, free: 29.4 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/1.651, allocations: 7.703 kB / 1.378 GB, free: 29.39 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002591/1.651, allocations: 56.72 kB / 1.379 GB, free: 29.38 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.821e-05/1.651, allocations: 14.06 kB / 1.379 GB, free: 29.38 MB / 0.8386 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 0.0001366/1.651, allocations: 118.8 kB / 1.379 GB, free: 29.27 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.818e-05/1.651, allocations: 43.78 kB / 1.379 GB, free: 29.24 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001092/1.651, allocations: 46.92 kB / 1.379 GB, free: 29.23 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.015e-06/1.651, allocations: 3.875 kB / 1.379 GB, free: 29.23 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.101e-05/1.651, allocations: 1 kB / 1.379 GB, free: 29.23 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.247e-06/1.651, allocations: 3.422 kB / 1.379 GB, free: 29.23 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006785/1.652, allocations: 0.5061 MB / 1.379 GB, free: 29.06 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/1.652, allocations: 0.9688 kB / 1.379 GB, free: 29.06 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004441/1.653, allocations: 96.86 kB / 1.379 GB, free: 29.05 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/1.653, allocations: 1 kB / 1.379 GB, free: 29.05 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.012e-05/1.653, allocations: 7.078 kB / 1.379 GB, free: 29.05 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.427e-06/1.653, allocations: 2.625 kB / 1.379 GB, free: 29.05 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/1.653, allocations: 0.9062 kB / 1.379 GB, free: 29.05 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008263/1.653, allocations: 0.5346 MB / 1.38 GB, free: 28.94 MB / 0.8386 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001192/1.655, allocations: 1.08 MB / 1.381 GB, free: 28.47 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 8.356e-05/1.655, allocations: 126.7 kB / 1.381 GB, free: 28.35 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.593e-05/1.655, allocations: 6.547 kB / 1.381 GB, free: 28.35 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003008/1.655, allocations: 58.64 kB / 1.381 GB, free: 28.34 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.726e-05/1.655, allocations: 27.27 kB / 1.381 GB, free: 28.33 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.251e-05/1.655, allocations: 13.05 kB / 1.381 GB, free: 28.33 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.0003059/1.656, allocations: 249.6 kB / 1.381 GB, free: 28.25 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.001809/1.657, allocations: 196.4 kB / 1.382 GB, free: 28.19 MB / 0.8386 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.0001946/1.658, allocations: 115.4 kB / 1.382 GB, free: 28.1 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0008411/1.658, allocations: 0.4914 MB / 1.382 GB, free: 28.07 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/1.658, allocations: 0.9062 kB / 1.382 GB, free: 28.07 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.000257/1.659, allocations: 159.8 kB / 1.382 GB, free: 28.06 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006071/1.659, allocations: 105.5 kB / 1.382 GB, free: 28.05 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00159/1.661, allocations: 0.6736 MB / 1.383 GB, free: 27.81 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006661/1.662, allocations: 0.9324 MB / 1.384 GB, free: 27.09 MB / 0.8386 GB Notification: Performance of SimCode: time 4.1e-07/1.662, allocations: 0 / 1.384 GB, free: 27.09 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ExhaustDamper.pipe ; mkfifo Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ExhaustDamper.pipe ; head -c 1048576 < Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ExhaustDamper.pipe >> ../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ExhaustDamper.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ExhaustDamper_res.mat --tempDir=temp_Buildings_latest_Buildings_Obsolete_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_SetPoints_Validation_ExhaustDamper_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Obsolete_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_SetPoints_Validation_ExhaustDamper.fmu > Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ExhaustDamper.pipe 2>&1)