Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ExhaustDamper.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ExhaustDamper,fileNamePrefix="Buildings_8_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_8_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 8.1.4-maint.8.1.x/package.mo): time 1.422/1.422, allocations: 289.8 MB / 297.1 MB, free: 6.656 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009564/0.0009564, allocations: 181.2 kB / 366.3 MB, free: 1.957 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.121/1.121, allocations: 205.1 MB / 0.6256 GB, free: 7.41 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008078/0.0008077, allocations: 93.64 kB / 0.7395 GB, free: 39.81 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2097/0.2105, allocations: 122.5 MB / 0.8592 GB, free: 13.36 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.483/0.6935, allocations: 116.3 MB / 0.9727 GB, free: 76.31 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1466/0.8402, allocations: 139.8 MB / 1.109 GB, free: 10.63 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002198/0.8404, allocations: 71.95 kB / 1.109 GB, free: 10.56 MB / 0.7136 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.02729/0.8678, allocations: 11.98 MB / 1.121 GB, free: 14.62 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.174e-05/0.8678, allocations: 9.031 kB / 1.121 GB, free: 14.61 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001198/0.8679, allocations: 79.06 kB / 1.121 GB, free: 14.53 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005393/0.8685, allocations: 444.9 kB / 1.122 GB, free: 14.05 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001118/0.8686, allocations: 110.4 kB / 1.122 GB, free: 13.93 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.074e-05/0.8687, allocations: 39.94 kB / 1.122 GB, free: 13.89 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006311/0.8693, allocations: 362.5 kB / 1.122 GB, free: 13.54 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007255/0.87, allocations: 471.2 kB / 1.122 GB, free: 13.06 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.822e-05/0.8701, allocations: 4 kB / 1.122 GB, free: 13.05 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.644e-05/0.8701, allocations: 0 / 1.122 GB, free: 13.05 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.386e-05/0.8701, allocations: 12 kB / 1.122 GB, free: 13.04 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002376/0.8725, allocations: 1.81 MB / 1.124 GB, free: 11.18 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008283/0.8734, allocations: 384.7 kB / 1.125 GB, free: 10.8 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000251/0.8736, allocations: 166.4 kB / 1.125 GB, free: 10.64 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.772e-05/0.8737, allocations: 8 kB / 1.125 GB, free: 10.63 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002983/0.874, allocations: 207.5 kB / 1.125 GB, free: 10.41 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=43): time 2.886e-06/0.874, allocations: 0 / 1.125 GB, free: 10.41 MB / 0.7292 GB Notification: Performance of matching and sorting (n=43): time 0.0005504/0.8745, allocations: 341.5 kB / 1.125 GB, free: 10.07 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.562e-05/0.8746, allocations: 140.5 kB / 1.125 GB, free: 9.906 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003558/0.875, allocations: 345.2 kB / 1.126 GB, free: 9.562 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.288e-05/0.875, allocations: 25.7 kB / 1.126 GB, free: 9.531 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001321/0.8752, allocations: 248.4 kB / 1.126 GB, free: 9.285 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 9.36e-05/0.8753, allocations: 130 kB / 1.126 GB, free: 9.156 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.038e-05/0.8753, allocations: 0 / 1.126 GB, free: 9.156 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.000116/0.8754, allocations: 367.4 kB / 1.127 GB, free: 8.789 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002167/0.8756, allocations: 125 kB / 1.127 GB, free: 8.668 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002665/0.8759, allocations: 220.6 kB / 1.127 GB, free: 8.422 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002276/0.8761, allocations: 146.2 kB / 1.127 GB, free: 8.281 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.8761, allocations: 0 / 1.127 GB, free: 8.281 MB / 0.7292 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0005859/0.8767, allocations: 408.2 kB / 1.127 GB, free: 7.879 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001116/0.8769, allocations: 367.9 kB / 1.128 GB, free: 7.492 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.8769, allocations: 4.562 kB / 1.128 GB, free: 7.488 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.078e-05/0.8769, allocations: 0 / 1.128 GB, free: 7.488 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000446/0.8773, allocations: 107.8 kB / 1.128 GB, free: 7.383 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.65e-06/0.8774, allocations: 5.797 kB / 1.128 GB, free: 7.379 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003508/0.8777, allocations: 87.64 kB / 1.128 GB, free: 7.293 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.089e-05/0.8778, allocations: 12 kB / 1.128 GB, free: 7.281 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 7.053e-06/0.8778, allocations: 8.547 kB / 1.128 GB, free: 7.273 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000457/0.8782, allocations: 298.5 kB / 1.128 GB, free: 6.984 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.894e-06/0.8782, allocations: 0 / 1.128 GB, free: 6.984 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.119e-06/0.8782, allocations: 4 kB / 1.128 GB, free: 6.98 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003432/0.8786, allocations: 79.91 kB / 1.128 GB, free: 6.902 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.8786, allocations: 19.83 kB / 1.128 GB, free: 6.883 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002624/0.8789, allocations: 56.31 kB / 1.128 GB, free: 6.828 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.408e-05/0.8789, allocations: 12 kB / 1.128 GB, free: 6.816 MB / 0.7292 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.0001026/0.879, allocations: 113.3 kB / 1.128 GB, free: 6.699 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.061e-05/0.8791, allocations: 49.19 kB / 1.129 GB, free: 6.652 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.924e-05/0.8792, allocations: 52.69 kB / 1.129 GB, free: 6.602 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.8792, allocations: 4 kB / 1.129 GB, free: 6.598 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.8792, allocations: 5.125 kB / 1.129 GB, free: 6.594 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.8792, allocations: 3.906 kB / 1.129 GB, free: 6.59 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004903/0.8797, allocations: 0.5289 MB / 1.129 GB, free: 6.023 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.8797, allocations: 0 / 1.129 GB, free: 6.023 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004514/0.8802, allocations: 95.88 kB / 1.129 GB, free: 5.93 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.8802, allocations: 0 / 1.129 GB, free: 5.93 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.948e-05/0.8802, allocations: 11.91 kB / 1.129 GB, free: 5.918 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.8802, allocations: 0 / 1.129 GB, free: 5.918 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.8802, allocations: 4 kB / 1.129 GB, free: 5.914 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007945/0.881, allocations: 0.5599 MB / 1.13 GB, free: 5.332 MB / 0.7292 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001135/0.8822, allocations: 1.129 MB / 1.131 GB, free: 4.184 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 9.07e-05/0.8823, allocations: 132.4 kB / 1.131 GB, free: 4.035 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.906e-05/0.8824, allocations: 4.656 kB / 1.131 GB, free: 4.031 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003016/0.8827, allocations: 51.89 kB / 1.131 GB, free: 3.98 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.244e-05/0.8827, allocations: 27.97 kB / 1.131 GB, free: 3.953 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.129e-05/0.8828, allocations: 11.98 kB / 1.131 GB, free: 3.941 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0002553/0.883, allocations: 267.2 kB / 1.131 GB, free: 3.68 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001657/0.8847, allocations: 195 kB / 1.132 GB, free: 3.488 MB / 0.7292 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.0001353/0.8848, allocations: 115.9 kB / 1.132 GB, free: 3.363 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0007592/0.8856, allocations: 0.5177 MB / 1.132 GB, free: 2.848 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.8856, allocations: 4 kB / 1.132 GB, free: 2.844 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.000248/0.8859, allocations: 167.9 kB / 1.132 GB, free: 2.68 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005421/0.8864, allocations: 103.8 kB / 1.132 GB, free: 2.586 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001419/0.8879, allocations: 0.7094 MB / 1.133 GB, free: 1.852 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005133/0.8884, allocations: 0.9371 MB / 1.134 GB, free: 0.8867 MB / 0.7292 GB Notification: Performance of SimCode: time 2.91e-07/0.8884, allocations: 0 / 1.134 GB, free: 0.8867 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ExhaustDamper.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ExhaustDamper.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ExhaustDamper.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ExhaustDamper.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_SetPoints_Validation_ExhaustDamper_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_SetPoints_Validation_ExhaustDamper.fmu > Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ExhaustDamper.pipe 2>&1)