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.Economizers.Subsequences.Validation.Limits_VOut_flow.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.Economizers.Subsequences.Validation.Limits_VOut_flow,fileNamePrefix="Buildings_8_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_8_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 8.1.4-maint.8.1.x/package.mo): time 1.394/1.394, allocations: 289.8 MB / 297.1 MB, free: 6.684 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.0009643/0.0009643, allocations: 169.3 kB / 366.3 MB, free: 2.02 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.063/1.063, allocations: 205.1 MB / 0.6256 GB, free: 5.836 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.000811/0.0008109, allocations: 88.08 kB / 0.7395 GB, free: 39.67 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1942/0.195, allocations: 122.5 MB / 0.8592 GB, free: 13.18 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4278/0.6228, allocations: 116.3 MB / 0.9727 GB, free: 68.18 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1462/0.7691, allocations: 140.9 MB / 1.11 GB, free: 7.527 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002049/0.7693, allocations: 81.19 kB / 1.11 GB, free: 7.449 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: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.016/0.7853, allocations: 6.955 MB / 1.117 GB, free: 472 kB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.502e-05/0.7854, allocations: 12 kB / 1.117 GB, free: 460 kB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001124/0.7855, allocations: 55.34 kB / 1.117 GB, free: 404 kB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004891/0.786, allocations: 362.8 kB / 1.118 GB, free: 0 / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.204e-05/0.786, allocations: 16.05 kB / 1.118 GB, free: 15.98 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.41e-05/0.7861, allocations: 24 kB / 1.118 GB, free: 15.96 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005012/0.7866, allocations: 273.9 kB / 1.118 GB, free: 15.7 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005788/0.7872, allocations: 360.3 kB / 1.118 GB, free: 15.33 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/0.7872, allocations: 0 / 1.118 GB, free: 15.33 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.268e-05/0.7873, allocations: 7.984 kB / 1.118 GB, free: 15.32 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.595e-05/0.7873, allocations: 11.91 kB / 1.118 GB, free: 15.31 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001954/0.7892, allocations: 1.262 MB / 1.12 GB, free: 14.01 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004911/0.7897, allocations: 243.2 kB / 1.12 GB, free: 13.76 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001713/0.7899, allocations: 108.8 kB / 1.12 GB, free: 13.65 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.137e-05/0.79, allocations: 7.984 kB / 1.12 GB, free: 13.64 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000233/0.7902, allocations: 167.8 kB / 1.12 GB, free: 13.45 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=27): time 1.313e-06/0.7902, allocations: 0 / 1.12 GB, free: 13.45 MB / 0.7292 GB Notification: Performance of matching and sorting (n=27): time 0.000411/0.7906, allocations: 233.4 kB / 1.12 GB, free: 13.22 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.222e-05/0.7907, allocations: 140.5 kB / 1.12 GB, free: 13.05 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002776/0.791, allocations: 267.3 kB / 1.121 GB, free: 12.78 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.345e-05/0.791, allocations: 25.7 kB / 1.121 GB, free: 12.75 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.000105/0.7911, allocations: 200.2 kB / 1.121 GB, free: 12.55 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 7.379e-05/0.7912, allocations: 90.78 kB / 1.121 GB, free: 12.46 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.201e-05/0.7912, allocations: 0 / 1.121 GB, free: 12.46 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001139/0.7913, allocations: 342.8 kB / 1.121 GB, free: 12.12 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001249/0.7915, allocations: 72 kB / 1.121 GB, free: 12.05 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001637/0.7916, allocations: 125.1 kB / 1.121 GB, free: 11.91 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001403/0.7918, allocations: 87.92 kB / 1.122 GB, free: 11.82 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.7918, allocations: 0 / 1.122 GB, free: 11.82 MB / 0.7292 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000377/0.7922, allocations: 245.8 kB / 1.122 GB, free: 11.57 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 7.967e-05/0.7923, allocations: 187 kB / 1.122 GB, free: 11.38 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/0.7923, allocations: 4 kB / 1.122 GB, free: 11.38 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.184e-05/0.7923, allocations: 4 kB / 1.122 GB, free: 11.37 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002882/0.7926, allocations: 64.78 kB / 1.122 GB, free: 11.31 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.7926, allocations: 5.266 kB / 1.122 GB, free: 11.3 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000242/0.7929, allocations: 47.81 kB / 1.122 GB, free: 11.26 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.908e-05/0.7929, allocations: 4 kB / 1.122 GB, free: 11.25 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 6.342e-06/0.7929, allocations: 4 kB / 1.122 GB, free: 11.25 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003245/0.7932, allocations: 183.9 kB / 1.122 GB, free: 11.07 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.743e-06/0.7932, allocations: 4.031 kB / 1.122 GB, free: 11.07 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.178e-06/0.7932, allocations: 4 kB / 1.122 GB, free: 11.06 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002269/0.7935, allocations: 51.91 kB / 1.122 GB, free: 11.01 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.394e-06/0.7935, allocations: 0.9375 kB / 1.122 GB, free: 11.01 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001883/0.7937, allocations: 35.83 kB / 1.122 GB, free: 10.98 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.882e-05/0.7937, allocations: 12 kB / 1.122 GB, free: 10.96 MB / 0.7292 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.654e-05/0.7938, allocations: 108.8 kB / 1.122 GB, free: 10.85 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.08e-05/0.7939, allocations: 35.61 kB / 1.123 GB, free: 10.82 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004288/0.7943, allocations: 257.2 kB / 1.123 GB, free: 10.56 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/0.7943, allocations: 4.547 kB / 1.123 GB, free: 10.55 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.7943, allocations: 0 / 1.123 GB, free: 10.55 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.7943, allocations: 4 kB / 1.123 GB, free: 10.55 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009195/0.7953, allocations: 0.8016 MB / 1.124 GB, free: 9.684 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.7953, allocations: 0 / 1.124 GB, free: 9.684 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002831/0.7956, allocations: 63.91 kB / 1.124 GB, free: 9.621 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.381e-06/0.7956, allocations: 4.75 kB / 1.124 GB, free: 9.617 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.053e-05/0.7956, allocations: 4.234 kB / 1.124 GB, free: 9.613 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.949e-06/0.7956, allocations: 8 kB / 1.124 GB, free: 9.605 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.999e-06/0.7956, allocations: 7.906 kB / 1.124 GB, free: 9.598 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006616/0.7963, allocations: 0.6065 MB / 1.124 GB, free: 8.902 MB / 0.7292 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0009415/0.7972, allocations: 1.095 MB / 1.125 GB, free: 7.715 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 8.863e-05/0.7973, allocations: 116.7 kB / 1.125 GB, free: 7.582 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.584e-05/0.7974, allocations: 4 kB / 1.125 GB, free: 7.578 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002652/0.7977, allocations: 32.78 kB / 1.125 GB, free: 7.547 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.01e-05/0.7977, allocations: 23.89 kB / 1.125 GB, free: 7.523 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.394e-05/0.7978, allocations: 19.98 kB / 1.125 GB, free: 7.504 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0001888/0.7979, allocations: 199.1 kB / 1.126 GB, free: 7.312 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001667/0.7996, allocations: 139.1 kB / 1.126 GB, free: 7.176 MB / 0.7292 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.0001528/0.7998, allocations: 129.2 kB / 1.126 GB, free: 7.039 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0005087/0.8003, allocations: 326.8 kB / 1.126 GB, free: 6.719 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.8003, allocations: 0 / 1.126 GB, free: 6.719 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001869/0.8005, allocations: 116.7 kB / 1.126 GB, free: 6.605 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005606/0.8011, allocations: 108 kB / 1.126 GB, free: 6.504 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00112/0.8022, allocations: 0.5316 MB / 1.127 GB, free: 5.93 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005027/0.8027, allocations: 0.8655 MB / 1.128 GB, free: 5.035 MB / 0.7292 GB Notification: Performance of SimCode: time 3e-07/0.8027, allocations: 0 / 1.128 GB, free: 5.035 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Limits_VOut_flow.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Limits_VOut_flow.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Limits_VOut_flow.pipe >> ../files/Buildings_8_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 --tempDir=temp_Buildings_8_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_8_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_Economizers_Subsequences_Validation_Limits_VOut_flow.fmu > Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Limits_VOut_flow.pipe 2>&1)