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.Economizers.Subsequences.Validation.Limits_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_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Limits_VOut_flow,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_Economizers_Subsequences_Validation_Limits_VOut_flow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Limits_VOut_flow,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_Economizers_Subsequences_Validation_Limits_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.772/1.772, allocations: 387.2 MB / 394.5 MB, free: 13.27 MB / 330.7 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: 183.8 kB / 487 MB, free: 0.7305 MB / 378.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.126/1.126, allocations: 221.3 MB / 0.7819 GB, free: 6.809 MB / 0.573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000871/0.000871, allocations: 104.1 kB / 0.9213 GB, free: 43.7 MB / 0.6198 GB Notification: Performance of FrontEnd - loaded program: time 0.2289/0.2298, allocations: 148.6 MB / 1.066 GB, free: 7.41 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5182/0.748, allocations: 142.3 MB / 1.205 GB, free: 72.81 MB / 0.7917 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1472/0.8952, allocations: 151.4 MB / 1.353 GB, free: 11.82 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001991/0.8955, allocations: 84.09 kB / 1.353 GB, free: 11.74 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.01508/0.9106, allocations: 6.879 MB / 1.36 GB, free: 4.871 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/0.9106, allocations: 11.98 kB / 1.36 GB, free: 4.859 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.067e-05/0.9107, allocations: 55.34 kB / 1.36 GB, free: 4.805 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004404/0.9112, allocations: 351 kB / 1.36 GB, free: 4.426 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.103e-05/0.9112, allocations: 16 kB / 1.36 GB, free: 4.41 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.445e-05/0.9113, allocations: 27.91 kB / 1.36 GB, free: 4.383 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004686/0.9117, allocations: 270.7 kB / 1.361 GB, free: 4.117 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005676/0.9123, allocations: 356.3 kB / 1.361 GB, free: 3.754 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.409e-05/0.9123, allocations: 4 kB / 1.361 GB, free: 3.75 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.248e-05/0.9124, allocations: 3.984 kB / 1.361 GB, free: 3.746 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.928e-06/0.9124, allocations: 8 kB / 1.361 GB, free: 3.738 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001784/0.9142, allocations: 1.241 MB / 1.362 GB, free: 2.457 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004413/0.9146, allocations: 243.1 kB / 1.363 GB, free: 2.207 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001691/0.9148, allocations: 116.8 kB / 1.363 GB, free: 2.09 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 3.187e-05/0.9148, allocations: 7.906 kB / 1.363 GB, free: 2.082 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000209/0.9151, allocations: 164.8 kB / 1.363 GB, free: 1.898 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=27): time 1.593e-06/0.9151, allocations: 3.938 kB / 1.363 GB, free: 1.895 MB / 0.8542 GB Notification: Performance of matching and sorting (n=27): time 0.0003715/0.9154, allocations: 223.4 kB / 1.363 GB, free: 1.672 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.948e-05/0.9155, allocations: 136.5 kB / 1.363 GB, free: 1.508 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002466/0.9158, allocations: 251.3 kB / 1.363 GB, free: 1.254 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.333e-05/0.9158, allocations: 32.61 kB / 1.363 GB, free: 1.219 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 9.789e-05/0.9159, allocations: 212.1 kB / 1.364 GB, free: 1.008 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 5.606e-05/0.916, allocations: 78.83 kB / 1.364 GB, free: 0.9297 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.168e-05/0.916, allocations: 0 / 1.364 GB, free: 0.9297 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001019/0.9161, allocations: 342.8 kB / 1.364 GB, free: 0.5859 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001184/0.9162, allocations: 68 kB / 1.364 GB, free: 0.5195 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001518/0.9164, allocations: 126.8 kB / 1.364 GB, free: 388 kB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001313/0.9165, allocations: 92.91 kB / 1.364 GB, free: 296 kB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.9165, allocations: 0 / 1.364 GB, free: 296 kB / 0.8542 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003419/0.9169, allocations: 238.6 kB / 1.365 GB, free: 52 kB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001024/0.917, allocations: 185.9 kB / 1.365 GB, free: 15.85 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.917, allocations: 4.031 kB / 1.365 GB, free: 15.85 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.141e-05/0.917, allocations: 0 / 1.365 GB, free: 15.85 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002664/0.9173, allocations: 59.95 kB / 1.365 GB, free: 15.79 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-06/0.9173, allocations: 4 kB / 1.365 GB, free: 15.79 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002169/0.9175, allocations: 47.8 kB / 1.365 GB, free: 15.74 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.968e-05/0.9175, allocations: 8 kB / 1.365 GB, free: 15.73 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 5.861e-06/0.9176, allocations: 4 kB / 1.365 GB, free: 15.73 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002875/0.9178, allocations: 179.9 kB / 1.365 GB, free: 15.55 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.443e-06/0.9179, allocations: 0 / 1.365 GB, free: 15.55 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.078e-06/0.9179, allocations: 4 kB / 1.365 GB, free: 15.55 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002227/0.9181, allocations: 55.91 kB / 1.365 GB, free: 15.49 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.654e-06/0.9181, allocations: 0.75 kB / 1.365 GB, free: 15.49 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001822/0.9183, allocations: 39.77 kB / 1.365 GB, free: 15.45 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.547e-05/0.9183, allocations: 8 kB / 1.365 GB, free: 15.45 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,damLim.and2.y,damLim.and3.y,damLim.and3.u2,damLim.and2.u2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 31 * 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.392e-05/0.9184, allocations: 112.9 kB / 1.365 GB, free: 15.33 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.146e-05/0.9185, allocations: 35.62 kB / 1.365 GB, free: 15.29 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003985/0.9189, allocations: 246.6 kB / 1.365 GB, free: 15.05 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.9189, allocations: 4 kB / 1.365 GB, free: 15.04 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/0.9189, allocations: 3.984 kB / 1.365 GB, free: 15.04 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.9189, allocations: 0.9375 kB / 1.365 GB, free: 15.04 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008498/0.9197, allocations: 0.7927 MB / 1.366 GB, free: 14.18 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.9198, allocations: 0 / 1.366 GB, free: 14.18 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002733/0.92, allocations: 72.08 kB / 1.366 GB, free: 14.11 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-06/0.9201, allocations: 8 kB / 1.366 GB, free: 14.11 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.942e-05/0.9201, allocations: 4 kB / 1.366 GB, free: 14.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.559e-06/0.9201, allocations: 5.625 kB / 1.366 GB, free: 14.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.9201, allocations: 0 / 1.366 GB, free: 14.1 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006131/0.9207, allocations: 0.5942 MB / 1.367 GB, free: 13.41 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0008179/0.9215, allocations: 1.095 MB / 1.368 GB, free: 12.23 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.884e-05/0.9216, allocations: 120.7 kB / 1.368 GB, free: 12.09 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.559e-05/0.9217, allocations: 4 kB / 1.368 GB, free: 12.09 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002487/0.922, allocations: 33.53 kB / 1.368 GB, free: 12.05 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.302e-05/0.922, allocations: 19.97 kB / 1.368 GB, free: 12.04 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.782e-05/0.922, allocations: 8 kB / 1.368 GB, free: 12.03 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0001911/0.9222, allocations: 195.1 kB / 1.368 GB, free: 11.84 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001633/0.9239, allocations: 151.2 kB / 1.369 GB, free: 11.69 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 1 (damLim.damLimCon.I.y) * Number of discrete variables: 3 ($whenCondition1,damLim.and3.y,damLim.and2.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.0001445/0.924, allocations: 111.1 kB / 1.369 GB, free: 11.57 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0004644/0.9245, allocations: 309.8 kB / 1.369 GB, free: 11.27 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.9245, allocations: 3.938 kB / 1.369 GB, free: 11.26 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001604/0.9247, allocations: 111.9 kB / 1.369 GB, free: 11.15 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005338/0.9252, allocations: 105.6 kB / 1.369 GB, free: 11.05 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001035/0.9263, allocations: 0.5196 MB / 1.37 GB, free: 10.49 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004698/0.9267, allocations: 0.8725 MB / 1.37 GB, free: 9.598 MB / 0.8698 GB Notification: Performance of SimCode: time 2.6e-07/0.9268, allocations: 2.25 kB / 1.37 GB, free: 9.598 MB / 0.8698 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Limits_VOut_flow.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Limits_VOut_flow.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Limits_VOut_flow.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Limits_VOut_flow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Limits_VOut_flow_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_Economizers_Subsequences_Validation_Limits_VOut_flow_fmu --startTime=0 --stopTime=1800 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_Economizers_Subsequences_Validation_Limits_VOut_flow.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Limits_VOut_flow.pipe 2>&1)