Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ExhaustDamper.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ExhaustDamper,fileNamePrefix="Buildings_maint_7_0_x_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_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.242/1.242, allocations: 249.4 MB / 256.7 MB, free: 7.047 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001017/0.001017, allocations: 189.2 kB / 316 MB, free: 3.602 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.088/1.088, allocations: 205.2 MB / 0.5667 GB, free: 15.64 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007987/0.0007987, allocations: 86.52 kB / 0.671 GB, free: 4.789 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3089/0.3097, allocations: 112.6 MB / 0.7809 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1486/0.4584, allocations: 106.3 MB / 0.8847 GB, free: 12.51 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4642/0.9226, allocations: 135.2 MB / 1.017 GB, free: 3.426 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002186/0.9229, allocations: 82.88 kB / 1.017 GB, free: 3.379 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 149 * Number of variables: 149 Notification: Performance of Generate backend data structure: time 0.03183/0.9547, allocations: 13.86 MB / 1.03 GB, free: 7.898 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/0.9548, allocations: 8 kB / 1.03 GB, free: 7.891 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000141/0.9549, allocations: 86.97 kB / 1.03 GB, free: 7.805 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006245/0.9555, allocations: 473.1 kB / 1.031 GB, free: 7.387 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001067/0.9556, allocations: 105.7 kB / 1.031 GB, free: 7.27 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.418e-05/0.9557, allocations: 36 kB / 1.031 GB, free: 7.234 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006828/0.9564, allocations: 401.2 kB / 1.031 GB, free: 7.008 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007611/0.9572, allocations: 0.4993 MB / 1.032 GB, free: 6.645 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.132e-05/0.9572, allocations: 3.906 kB / 1.032 GB, free: 6.641 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.466e-05/0.9573, allocations: 3.984 kB / 1.032 GB, free: 6.637 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.446e-05/0.9573, allocations: 16 kB / 1.032 GB, free: 6.621 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002633/0.9599, allocations: 1.91 MB / 1.034 GB, free: 5.133 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009745/0.9609, allocations: 457.8 kB / 1.034 GB, free: 4.824 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002587/0.9612, allocations: 184.8 kB / 1.034 GB, free: 4.719 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 4.422e-05/0.9612, allocations: 8.375 kB / 1.034 GB, free: 4.711 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003142/0.9616, allocations: 228.8 kB / 1.035 GB, free: 4.547 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=49): time 2.284e-06/0.9616, allocations: 3.938 kB / 1.035 GB, free: 4.543 MB / 0.6511 GB Notification: Performance of matching and sorting (n=49): time 0.0005954/0.9622, allocations: 372.9 kB / 1.035 GB, free: 4.281 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.093e-05/0.9622, allocations: 143.9 kB / 1.035 GB, free: 4.113 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003736/0.9626, allocations: 375 kB / 1.036 GB, free: 3.828 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.316e-05/0.9627, allocations: 25.7 kB / 1.036 GB, free: 3.797 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001417/0.9628, allocations: 255 kB / 1.036 GB, free: 3.57 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001051/0.9629, allocations: 155.2 kB / 1.036 GB, free: 3.438 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.113e-05/0.963, allocations: 0 / 1.036 GB, free: 3.438 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001201/0.9631, allocations: 364.8 kB / 1.036 GB, free: 3.094 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002131/0.9633, allocations: 137.3 kB / 1.036 GB, free: 3.02 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002841/0.9636, allocations: 233.7 kB / 1.037 GB, free: 2.844 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002498/0.9638, allocations: 175.5 kB / 1.037 GB, free: 2.742 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.9639, allocations: 0 / 1.037 GB, free: 2.742 MB / 0.6511 GB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0006645/0.9645, allocations: 439.4 kB / 1.037 GB, free: 2.43 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001126/0.9646, allocations: 362.3 kB / 1.038 GB, free: 2.055 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.9647, allocations: 0 / 1.038 GB, free: 2.055 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.9647, allocations: 4 kB / 1.038 GB, free: 2.051 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004672/0.9652, allocations: 123 kB / 1.038 GB, free: 1.934 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.9652, allocations: 4 kB / 1.038 GB, free: 1.93 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003571/0.9655, allocations: 79.64 kB / 1.038 GB, free: 1.852 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.36e-05/0.9656, allocations: 15.12 kB / 1.038 GB, free: 1.84 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 6.622e-06/0.9656, allocations: 4 kB / 1.038 GB, free: 1.836 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004766/0.9661, allocations: 331.9 kB / 1.038 GB, free: 1.625 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.9661, allocations: 4.062 kB / 1.038 GB, free: 1.621 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.851e-06/0.9661, allocations: 7.906 kB / 1.038 GB, free: 1.613 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003599/0.9665, allocations: 95.2 kB / 1.038 GB, free: 1.523 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.577e-06/0.9665, allocations: 8 kB / 1.038 GB, free: 1.516 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002692/0.9667, allocations: 59.66 kB / 1.038 GB, free: 1.457 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.602e-05/0.9668, allocations: 14.75 kB / 1.038 GB, free: 1.449 MB / 0.6511 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 (61): * Single equations (assignments): 61 * 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.000109/0.9669, allocations: 120.8 kB / 1.038 GB, free: 1.324 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.463e-05/0.967, allocations: 51.34 kB / 1.038 GB, free: 1.273 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001038/0.9671, allocations: 56.83 kB / 1.038 GB, free: 1.242 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.225e-06/0.9671, allocations: 8 kB / 1.039 GB, free: 1.234 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.573e-06/0.9671, allocations: 4 kB / 1.039 GB, free: 1.23 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.824e-06/0.9671, allocations: 3.984 kB / 1.039 GB, free: 1.227 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005144/0.9676, allocations: 0.5691 MB / 1.039 GB, free: 0.7695 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.9676, allocations: 0 / 1.039 GB, free: 0.7695 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004616/0.9681, allocations: 111.3 kB / 1.039 GB, free: 0.6641 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.307e-06/0.9681, allocations: 0 / 1.039 GB, free: 0.6641 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.223e-05/0.9682, allocations: 10.8 kB / 1.039 GB, free: 0.6562 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.9682, allocations: 0 / 1.039 GB, free: 0.6562 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.9682, allocations: 4 kB / 1.039 GB, free: 0.6523 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000841/0.969, allocations: 0.6161 MB / 1.04 GB, free: 244 kB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001208/0.9702, allocations: 1.22 MB / 1.041 GB, free: 15.32 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 8.639e-05/0.9703, allocations: 135.8 kB / 1.041 GB, free: 15.17 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.621e-05/0.9704, allocations: 3 kB / 1.041 GB, free: 15.17 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003072/0.9707, allocations: 55.95 kB / 1.041 GB, free: 15.12 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.213e-05/0.9708, allocations: 27.2 kB / 1.041 GB, free: 15.09 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.789e-05/0.9708, allocations: 11.06 kB / 1.041 GB, free: 15.09 MB / 0.6667 GB Notification: Performance of sort global known variables: time 0.0002593/0.9711, allocations: 287.7 kB / 1.041 GB, free: 14.88 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001591/0.9727, allocations: 214.8 kB / 1.042 GB, free: 14.67 MB / 0.6667 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 (49): * Single equations (assignments): 46 * 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.0001675/0.9729, allocations: 118.9 kB / 1.042 GB, free: 14.55 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0007847/0.9737, allocations: 0.5745 MB / 1.042 GB, free: 14.18 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.9737, allocations: 4 kB / 1.042 GB, free: 14.17 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0002611/0.9739, allocations: 188.7 kB / 1.043 GB, free: 14.05 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005524/0.9745, allocations: 106.7 kB / 1.043 GB, free: 13.96 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00148/0.976, allocations: 0.7716 MB / 1.043 GB, free: 13.27 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005652/0.9766, allocations: 0.9705 MB / 1.044 GB, free: 12.27 MB / 0.6667 GB Notification: Performance of SimCode: time 2.71e-07/0.9766, allocations: 0 / 1.044 GB, free: 12.27 MB / 0.6667 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ExhaustDamper.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ExhaustDamper.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ExhaustDamper.pipe >> ../files/Buildings_maint.7.0.x_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_maint_7_0_x_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_SetPoints_Validation_ExhaustDamper_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_SetPoints_Validation_ExhaustDamper.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ExhaustDamper.pipe 2>&1)