Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Limits.Validation.Common_VOut_flow.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.Economizers.Subsequences.Limits.Validation.Common_VOut_flow,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_AHUs_MultiZone_VAV_Economizers_Subsequences_Limits_Validation_Common_VOut_flow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Limits.Validation.Common_VOut_flow,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_AHUs_MultiZone_VAV_Economizers_Subsequences_Limits_Validation_Common_VOut_flow",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.813/1.813, allocations: 387.2 MB / 394.5 MB, free: 4.555 MB / 306.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001035/0.001035, allocations: 185.3 kB / 487 MB, free: 11.09 MB / 402.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.164/1.164, allocations: 221.3 MB / 0.7819 GB, free: 3.93 MB / 0.5497 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008844/0.0008844, allocations: 97.03 kB / 0.9213 GB, free: 5.02 MB / 0.6903 GB Notification: Performance of FrontEnd - loaded program: time 0.4097/0.4107, allocations: 148.6 MB / 1.066 GB, free: 140.9 MB / 0.7216 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1967/0.6074, allocations: 142.3 MB / 1.205 GB, free: 14.55 MB / 0.7372 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5563/1.164, allocations: 151.3 MB / 1.353 GB, free: 0.7266 MB / 0.8153 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002165/1.164, allocations: 83.92 kB / 1.353 GB, free: 0.6445 MB / 0.8153 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.01416/1.178, allocations: 6.433 MB / 1.36 GB, free: 10.18 MB / 0.8309 GB Notification: Performance of prepare preOptimizeDAE: time 3.066e-05/1.178, allocations: 11.94 kB / 1.36 GB, free: 10.16 MB / 0.8309 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.038e-05/1.178, allocations: 47.44 kB / 1.36 GB, free: 10.12 MB / 0.8309 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004151/1.179, allocations: 345.7 kB / 1.36 GB, free: 9.734 MB / 0.8309 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.994e-05/1.179, allocations: 19.91 kB / 1.36 GB, free: 9.715 MB / 0.8309 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.479e-05/1.179, allocations: 24 kB / 1.36 GB, free: 9.691 MB / 0.8309 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004861/1.179, allocations: 261.9 kB / 1.36 GB, free: 9.434 MB / 0.8309 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005158/1.18, allocations: 336.3 kB / 1.361 GB, free: 9.09 MB / 0.8309 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/1.18, allocations: 0 / 1.361 GB, free: 9.09 MB / 0.8309 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.059e-05/1.18, allocations: 7.922 kB / 1.361 GB, free: 9.082 MB / 0.8309 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.119e-05/1.18, allocations: 12 kB / 1.361 GB, free: 9.07 MB / 0.8309 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00154/1.181, allocations: 1.178 MB / 1.362 GB, free: 7.852 MB / 0.8309 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004419/1.182, allocations: 234.8 kB / 1.362 GB, free: 7.609 MB / 0.8309 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001697/1.182, allocations: 116.8 kB / 1.362 GB, free: 7.492 MB / 0.8309 GB Notification: Performance of preOpt evalFunc (simulation): time 3.4e-05/1.182, allocations: 7.906 kB / 1.362 GB, free: 7.484 MB / 0.8309 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000214/1.182, allocations: 166.2 kB / 1.362 GB, free: 7.301 MB / 0.8309 GB Notification: Performance of pre-optimization done (n=26): time 1.393e-06/1.182, allocations: 0 / 1.362 GB, free: 7.301 MB / 0.8309 GB Notification: Performance of matching and sorting (n=26): time 0.0003632/1.183, allocations: 211.3 kB / 1.362 GB, free: 7.09 MB / 0.8309 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.452e-05/1.183, allocations: 136.5 kB / 1.363 GB, free: 6.926 MB / 0.8309 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002566/1.183, allocations: 247.4 kB / 1.363 GB, free: 6.68 MB / 0.8309 GB Notification: Performance of collectPreVariables (initialization): time 2.294e-05/1.183, allocations: 25.7 kB / 1.363 GB, free: 6.648 MB / 0.8309 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001073/1.183, allocations: 200.6 kB / 1.363 GB, free: 6.449 MB / 0.8309 GB Notification: Performance of collectInitialBindings (initialization): time 5.802e-05/1.183, allocations: 82.81 kB / 1.363 GB, free: 6.367 MB / 0.8309 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.069e-05/1.183, allocations: 0 / 1.363 GB, free: 6.367 MB / 0.8309 GB Notification: Performance of setup shared object (initialization): time 0.0001069/1.183, allocations: 338.7 kB / 1.363 GB, free: 6.027 MB / 0.8309 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00012/1.184, allocations: 72 kB / 1.363 GB, free: 5.957 MB / 0.8309 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001517/1.184, allocations: 118.3 kB / 1.364 GB, free: 5.82 MB / 0.8309 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001384/1.184, allocations: 83.5 kB / 1.364 GB, free: 5.742 MB / 0.8309 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/1.184, allocations: 0 / 1.364 GB, free: 5.742 MB / 0.8309 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000341/1.184, allocations: 227.9 kB / 1.364 GB, free: 5.516 MB / 0.8309 GB Notification: Performance of prepare postOptimizeDAE: time 9.853e-05/1.184, allocations: 197.9 kB / 1.364 GB, free: 5.309 MB / 0.8309 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/1.184, allocations: 0 / 1.364 GB, free: 5.309 MB / 0.8309 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.158e-05/1.184, allocations: 0 / 1.364 GB, free: 5.309 MB / 0.8309 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002638/1.185, allocations: 55.97 kB / 1.364 GB, free: 5.254 MB / 0.8309 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/1.185, allocations: 4 kB / 1.364 GB, free: 5.25 MB / 0.8309 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001969/1.185, allocations: 43.81 kB / 1.364 GB, free: 5.207 MB / 0.8309 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.332e-05/1.185, allocations: 8 kB / 1.364 GB, free: 5.199 MB / 0.8309 GB Notification: Performance of prepare postOptimizeDAE: time 5.811e-06/1.185, allocations: 7.938 kB / 1.364 GB, free: 5.191 MB / 0.8309 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002639/1.185, allocations: 160 kB / 1.364 GB, free: 5.035 MB / 0.8309 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.302e-06/1.185, allocations: 0 / 1.364 GB, free: 5.035 MB / 0.8309 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.839e-06/1.185, allocations: 7.984 kB / 1.364 GB, free: 5.027 MB / 0.8309 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002142/1.185, allocations: 47.92 kB / 1.364 GB, free: 4.98 MB / 0.8309 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.896e-06/1.185, allocations: 7.938 kB / 1.364 GB, free: 4.973 MB / 0.8309 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001648/1.186, allocations: 35.81 kB / 1.364 GB, free: 4.938 MB / 0.8309 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.577e-05/1.186, allocations: 8 kB / 1.364 GB, free: 4.93 MB / 0.8309 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,damLim.yEnaMinOut,damLim.and3.u2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 29 * 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.969e-05/1.186, allocations: 112.9 kB / 1.365 GB, free: 4.812 MB / 0.8309 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.075e-05/1.186, allocations: 27.62 kB / 1.365 GB, free: 4.785 MB / 0.8309 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004005/1.186, allocations: 248.1 kB / 1.365 GB, free: 4.535 MB / 0.8309 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/1.186, allocations: 0 / 1.365 GB, free: 4.535 MB / 0.8309 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/1.186, allocations: 0 / 1.365 GB, free: 4.535 MB / 0.8309 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/1.186, allocations: 4 kB / 1.365 GB, free: 4.531 MB / 0.8309 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008181/1.187, allocations: 0.7619 MB / 1.366 GB, free: 3.707 MB / 0.8309 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/1.187, allocations: 0 / 1.366 GB, free: 3.707 MB / 0.8309 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002755/1.187, allocations: 68.11 kB / 1.366 GB, free: 3.641 MB / 0.8309 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.959e-06/1.187, allocations: 4 kB / 1.366 GB, free: 3.637 MB / 0.8309 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.708e-05/1.187, allocations: 4 kB / 1.366 GB, free: 3.633 MB / 0.8309 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.898e-06/1.187, allocations: 4 kB / 1.366 GB, free: 3.629 MB / 0.8309 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/1.187, allocations: 4 kB / 1.366 GB, free: 3.625 MB / 0.8309 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006136/1.188, allocations: 0.5763 MB / 1.366 GB, free: 2.969 MB / 0.8309 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0007685/1.189, allocations: 1.054 MB / 1.367 GB, free: 1.832 MB / 0.8309 GB Notification: Performance of postOpt removeConstants (simulation): time 6.719e-05/1.189, allocations: 116.7 kB / 1.367 GB, free: 1.699 MB / 0.8309 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.048e-05/1.189, allocations: 0 / 1.367 GB, free: 1.699 MB / 0.8309 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000234/1.189, allocations: 32.05 kB / 1.367 GB, free: 1.668 MB / 0.8309 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.489e-05/1.189, allocations: 19.97 kB / 1.367 GB, free: 1.648 MB / 0.8309 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.773e-05/1.189, allocations: 8 kB / 1.367 GB, free: 1.641 MB / 0.8309 GB Notification: Performance of sort global known variables: time 0.0001637/1.189, allocations: 191.1 kB / 1.368 GB, free: 1.453 MB / 0.8309 GB Notification: Performance of remove unused functions: time 0.001607/1.191, allocations: 131.2 kB / 1.368 GB, free: 1.324 MB / 0.8309 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 1 (damLim.damLimCon.I.y) * Number of discrete variables: 2 ($whenCondition1,damLim.yEnaMinOut) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 28 * 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 Backend phase and start with SimCode phase: time 0.0001328/1.191, allocations: 123.8 kB / 1.368 GB, free: 1.195 MB / 0.8309 GB Notification: Performance of simCode: created initialization part: time 0.0004714/1.192, allocations: 299 kB / 1.368 GB, free: 0.9062 MB / 0.8309 GB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/1.192, allocations: 4 kB / 1.368 GB, free: 0.9023 MB / 0.8309 GB Notification: Performance of simCode: created simulation system equations: time 0.0001566/1.192, allocations: 103.9 kB / 1.368 GB, free: 0.8008 MB / 0.8309 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005362/1.192, allocations: 102.8 kB / 1.368 GB, free: 0.6992 MB / 0.8309 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001016/1.193, allocations: 0.5071 MB / 1.369 GB, free: 148 kB / 0.8309 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004286/1.194, allocations: 0.8541 MB / 1.37 GB, free: 15.27 MB / 0.8466 GB Notification: Performance of SimCode: time 2.5e-07/1.194, allocations: 0 / 1.37 GB, free: 15.27 MB / 0.8466 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Limits.Validation.Common_VOut_flow.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Limits.Validation.Common_VOut_flow.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Limits.Validation.Common_VOut_flow.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Limits.Validation.Common_VOut_flow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Limits.Validation.Common_VOut_flow_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_AHUs_MultiZone_VAV_Economizers_Subsequences_Limits_Validation_Common_VOut_flow_fmu --startTime=0 --stopTime=1800 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_AHUs_MultiZone_VAV_Economizers_Subsequences_Limits_Validation_Common_VOut_flow.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Limits.Validation.Common_VOut_flow.pipe 2>&1)