Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_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.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_Economizers_Subsequences_Validation_Limits_FanSpe_VOut_flow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_Economizers_Subsequences_Validation_Limits_FanSpe_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.387/1.387, allocations: 289.8 MB / 297.1 MB, free: 6.57 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.001001/0.001001, allocations: 177.3 kB / 366.3 MB, free: 1.941 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.111/1.111, allocations: 205.1 MB / 0.6256 GB, free: 5.781 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.0008333/0.0008332, allocations: 80.88 kB / 0.7395 GB, free: 11.88 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.2057/0.2065, allocations: 122.5 MB / 0.8592 GB, free: 1.223 MB / 0.6511 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4916/0.6981, allocations: 116.3 MB / 0.9727 GB, free: 143.3 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1513/0.8494, allocations: 139.7 MB / 1.109 GB, free: 62.47 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000209/0.8496, allocations: 83.92 kB / 1.109 GB, free: 62.39 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 139 * Number of variables: 139 Notification: Performance of Generate backend data structure: time 0.01467/0.8643, allocations: 7.582 MB / 1.117 GB, free: 54.92 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.683e-05/0.8644, allocations: 12 kB / 1.117 GB, free: 54.91 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.13e-05/0.8645, allocations: 67.16 kB / 1.117 GB, free: 54.84 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000666/0.8651, allocations: 493.9 kB / 1.117 GB, free: 54.33 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.13e-05/0.8652, allocations: 20 kB / 1.117 GB, free: 54.31 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.549e-05/0.8652, allocations: 35 kB / 1.117 GB, free: 54.28 MB / 0.7605 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005083/0.8657, allocations: 341.4 kB / 1.118 GB, free: 53.95 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005236/0.8663, allocations: 372 kB / 1.118 GB, free: 53.58 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.309e-05/0.8663, allocations: 4.594 kB / 1.118 GB, free: 53.57 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.439e-05/0.8663, allocations: 0.6875 kB / 1.118 GB, free: 53.57 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.749e-06/0.8663, allocations: 15.94 kB / 1.118 GB, free: 53.56 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001962/0.8683, allocations: 1.392 MB / 1.119 GB, free: 52.15 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002485/0.8686, allocations: 136.2 kB / 1.119 GB, free: 52.02 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001018/0.8687, allocations: 61.89 kB / 1.119 GB, free: 51.95 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 3.317e-05/0.8687, allocations: 4 kB / 1.119 GB, free: 51.95 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.637e-05/0.8687, allocations: 33.72 kB / 1.12 GB, free: 51.91 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=19): time 1.843e-06/0.8688, allocations: 0.9688 kB / 1.12 GB, free: 51.91 MB / 0.7605 GB Notification: Performance of matching and sorting (n=19): time 0.0003183/0.8691, allocations: 172.2 kB / 1.12 GB, free: 51.74 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.464e-05/0.8691, allocations: 52.03 kB / 1.12 GB, free: 51.68 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003144/0.8694, allocations: 349.2 kB / 1.12 GB, free: 51.33 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 1.721e-05/0.8695, allocations: 29.64 kB / 1.12 GB, free: 51.3 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001193/0.8696, allocations: 295.3 kB / 1.12 GB, free: 51 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 3.359e-05/0.8696, allocations: 59.67 kB / 1.12 GB, free: 50.95 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.358e-05/0.8696, allocations: 0 / 1.12 GB, free: 50.95 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 7.833e-05/0.8697, allocations: 351.5 kB / 1.121 GB, free: 50.59 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001198/0.8699, allocations: 73.69 kB / 1.121 GB, free: 50.52 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001633/0.87, allocations: 190.2 kB / 1.121 GB, free: 50.29 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001329/0.8702, allocations: 95.91 kB / 1.121 GB, free: 50.2 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.8702, allocations: 5.156 kB / 1.121 GB, free: 50.2 MB / 0.7605 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0003908/0.8706, allocations: 309.2 kB / 1.121 GB, free: 49.9 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.171e-05/0.8706, allocations: 4 kB / 1.121 GB, free: 49.89 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/0.8706, allocations: 5.062 kB / 1.121 GB, free: 49.89 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.8706, allocations: 8 kB / 1.121 GB, free: 49.88 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003215/0.871, allocations: 86.17 kB / 1.122 GB, free: 49.8 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.248e-06/0.871, allocations: 12.47 kB / 1.122 GB, free: 49.79 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002768/0.8713, allocations: 50.94 kB / 1.122 GB, free: 49.74 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.614e-05/0.8713, allocations: 19.94 kB / 1.122 GB, free: 49.72 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 6 (damLim1.and3.y,damLim1.and3.u3,damLim1.and3.u2,damLim.and3.y,damLim.and3.u3,damLim.and3.u2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 46 * 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.041e-05/0.8714, allocations: 115.1 kB / 1.122 GB, free: 49.61 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.425e-05/0.8714, allocations: 36.59 kB / 1.122 GB, free: 49.57 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003537/0.8718, allocations: 198.8 kB / 1.122 GB, free: 49.38 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.8718, allocations: 0 / 1.122 GB, free: 49.38 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.8718, allocations: 1.125 kB / 1.122 GB, free: 49.38 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/0.8718, allocations: 0 / 1.122 GB, free: 49.38 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007419/0.8726, allocations: 0.7096 MB / 1.123 GB, free: 48.61 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.8726, allocations: 2.469 kB / 1.123 GB, free: 48.61 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002147/0.8728, allocations: 54.44 kB / 1.123 GB, free: 48.55 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.8728, allocations: 7.938 kB / 1.123 GB, free: 48.55 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.566e-05/0.8729, allocations: 8.594 kB / 1.123 GB, free: 48.54 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.8729, allocations: 0.5938 kB / 1.123 GB, free: 48.54 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/0.8729, allocations: 4 kB / 1.123 GB, free: 48.54 MB / 0.7605 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002717/0.8731, allocations: 393.2 kB / 1.123 GB, free: 48.09 MB / 0.7605 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003155/0.8735, allocations: 0.7565 MB / 1.124 GB, free: 47.25 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 6.886e-05/0.8736, allocations: 120.6 kB / 1.124 GB, free: 47.12 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.698e-05/0.8736, allocations: 4 kB / 1.124 GB, free: 47.11 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002215/0.8738, allocations: 23.98 kB / 1.124 GB, free: 47.09 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.127e-05/0.8739, allocations: 19.97 kB / 1.124 GB, free: 47.07 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.228e-05/0.8739, allocations: 11.88 kB / 1.124 GB, free: 47.06 MB / 0.7605 GB Notification: Performance of sort global known variables: time 0.0001935/0.8741, allocations: 251.2 kB / 1.124 GB, free: 46.82 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0009709/0.8751, allocations: 83.59 kB / 1.124 GB, free: 46.73 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 21 * 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.0001188/0.8752, allocations: 105.2 kB / 1.124 GB, free: 46.62 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.000282/0.8755, allocations: 199.7 kB / 1.125 GB, free: 46.43 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.8755, allocations: 4 kB / 1.125 GB, free: 46.42 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0001062/0.8756, allocations: 71.88 kB / 1.125 GB, free: 46.35 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007163/0.8763, allocations: 179.6 kB / 1.125 GB, free: 46.18 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008699/0.8772, allocations: 0.5165 MB / 1.125 GB, free: 45.62 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003315/0.8776, allocations: 0.8868 MB / 1.126 GB, free: 44.71 MB / 0.7605 GB Notification: Performance of SimCode: time 2.7e-07/0.8776, allocations: 0 / 1.126 GB, free: 44.71 MB / 0.7605 GB (rm -f Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_Economizers_Subsequences_Validation_Limits_FanSpe_VOut_flow_fmu --startTime=0 --stopTime=1800 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_Economizers_Subsequences_Validation_Limits_FanSpe_VOut_flow.fmu > Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow.pipe 2>&1)