Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.TrimAndRespond.conf.json 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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.TrimAndRespond,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_ASHRAE_G36_PR1_Generic_SetPoints_Validation_TrimAndRespond",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.1/package.mo): time 2.249/2.249, allocations: 248.6 MB / 255.9 MB, free: 7.129 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.001764/0.001764, allocations: 184.2 kB / 315.1 MB, free: 4.285 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.034/2.034, allocations: 205.1 MB / 0.5658 GB, free: 288 kB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001627/0.001626, allocations: 85.56 kB / 0.67 GB, free: 5.508 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4878/0.4895, allocations: 112.4 MB / 0.7797 GB, free: 103.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2209/0.7104, allocations: 106.3 MB / 0.8835 GB, free: 13.31 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6929/1.403, allocations: 135.3 MB / 1.016 GB, free: 4.988 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000366/1.404, allocations: 76.19 kB / 1.016 GB, free: 4.945 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: 300 * Number of variables: 300 Notification: Performance of Generate backend data structure: time 0.09334/1.497, allocations: 18.31 MB / 1.034 GB, free: 5.473 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 7.347e-05/1.497, allocations: 12 kB / 1.034 GB, free: 5.461 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001002/1.498, allocations: 142.3 kB / 1.034 GB, free: 5.32 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009483/1.499, allocations: 368.8 kB / 1.034 GB, free: 4.93 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002553/1.5, allocations: 43.98 kB / 1.034 GB, free: 4.887 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006845/1.5, allocations: 87.8 kB / 1.034 GB, free: 4.805 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004845/1.505, allocations: 0.7002 MB / 1.035 GB, free: 4.379 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003701/1.509, allocations: 0.9156 MB / 1.036 GB, free: 3.703 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.636e-05/1.509, allocations: 0 / 1.036 GB, free: 3.703 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001478/1.509, allocations: 7.984 kB / 1.036 GB, free: 3.695 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.703e-05/1.509, allocations: 31.91 kB / 1.036 GB, free: 3.664 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007671/1.517, allocations: 2.63 MB / 1.038 GB, free: 1.676 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002445/1.519, allocations: 0.7881 MB / 1.039 GB, free: 1.141 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009303/1.52, allocations: 291.9 kB / 1.039 GB, free: 0.9688 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 9.553e-05/1.521, allocations: 20.75 kB / 1.039 GB, free: 0.9492 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001382/1.522, allocations: 0.5234 MB / 1.04 GB, free: 0.5391 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=107): time 4.809e-06/1.522, allocations: 0 / 1.04 GB, free: 0.5391 MB / 0.6511 GB Notification: Performance of matching and sorting (n=107): time 0.002472/1.524, allocations: 0.7252 MB / 1.041 GB, free: 0 / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000183/1.525, allocations: 267.4 kB / 1.041 GB, free: 15.68 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000998/1.526, allocations: 471.8 kB / 1.041 GB, free: 15.34 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001833/1.526, allocations: 32.77 kB / 1.041 GB, free: 15.3 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005674/1.526, allocations: 411.7 kB / 1.042 GB, free: 14.94 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004069/1.527, allocations: 261.8 kB / 1.042 GB, free: 14.71 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.705e-05/1.527, allocations: 0 / 1.042 GB, free: 14.71 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.000246/1.527, allocations: 389.4 kB / 1.042 GB, free: 14.36 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008701/1.528, allocations: 249.9 kB / 1.043 GB, free: 14.22 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001274/1.529, allocations: 0.5017 MB / 1.043 GB, free: 13.74 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009449/1.53, allocations: 294.5 kB / 1.043 GB, free: 13.55 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.077e-05/1.53, allocations: 4 kB / 1.043 GB, free: 13.55 MB / 0.6667 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.002622/1.533, allocations: 0.8227 MB / 1.044 GB, free: 12.91 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.951e-05/1.533, allocations: 7.125 kB / 1.044 GB, free: 12.91 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.732e-05/1.533, allocations: 11.91 kB / 1.044 GB, free: 12.9 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.231e-05/1.533, allocations: 27.94 kB / 1.044 GB, free: 12.87 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001495/1.535, allocations: 174.8 kB / 1.044 GB, free: 12.71 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.204e-05/1.535, allocations: 19.92 kB / 1.044 GB, free: 12.69 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001321/1.536, allocations: 102.7 kB / 1.045 GB, free: 12.59 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002247/1.536, allocations: 50.94 kB / 1.045 GB, free: 12.55 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * Number of states: 0 () * Number of discrete variables: 77 ($PRE.trimRespondLogic.tim.u,$PRE.trimRespondLogic1.tim.u,$PRE.trimRespondLogic2.tim.u,$PRE.trimRespondLogic1.sampler.firstTrigger,trimRespondLogic1.sampler.firstTrigger,$PRE.trimRespondLogic1.uniDel.firstTrigger,trimRespondLogic1.uniDel.firstTrigger,$PRE.trimRespondLogic.sampler.firstTrigger,trimRespondLogic.sampler.firstTrigger,$PRE.trimRespondLogic.uniDel.firstTrigger,trimRespondLogic.uniDel.firstTrigger,$whenCondition12,$PRE.trimRespondLogic1.tim.t_next,$whenCondition7,$PRE.trimRespondLogic.tim.t_next,$whenCondition10,trimRespondLogic.uniDel.sampleTrigger,$whenCondition11,trimRespondLogic.sampler.sampleTrigger,$whenCondition15,trimRespondLogic1.uniDel.sampleTrigger,$whenCondition16,trimRespondLogic1.sampler.sampleTrigger,trimRespondLogic1.tim.t_next,trimRespondLogic.tim.t_next,$PRE.trimRespondLogic2.sampler.firstTrigger,trimRespondLogic2.sampler.firstTrigger,$PRE.trimRespondLogic2.uniDel.firstTrigger,trimRespondLogic2.uniDel.firstTrigger,$whenCondition6,$whenCondition1,$PRE.trimRespondLogic2.tim.t_next,$whenCondition4,trimRespondLogic2.uniDel.sampleTrigger,$whenCondition5,trimRespondLogic2.sampler.sampleTrigger,trimRespondLogic2.tim.t_next,trimRespondLogic.lesEquThr1.y,trimRespondLogic.greEquThr.y,trimRespondLogic1.lesEquThr1.y,trimRespondLogic1.greEquThr.y,$whenCondition13,$whenCondition14,$whenCondition8,$whenCondition9,trimRespondLogic.tim.u,trimRespondLogic.tim.y,trimRespondLogic.greThr.y,trimRespondLogic.netRes.u2,$PRE.trimRespondLogic.uniDel.y,trimRespondLogic.uniDel.y,trimRespondLogic.sampler.y,trimRespondLogic1.tim.u,trimRespondLogic1.tim.y,trimRespondLogic1.greThr.y,trimRespondLogic1.netRes.u2,$PRE.trimRespondLogic1.uniDel.y,trimRespondLogic1.uniDel.y,trimRespondLogic1.sampler.y,reaToInt1.y,trimRespondLogic1.greEquThr1.y,trimRespondLogic.greEquThr1.y,trimRespondLogic2.lesEquThr1.y,trimRespondLogic2.greEquThr.y,$whenCondition2,$whenCondition3,trimRespondLogic2.tim.u,trimRespondLogic2.tim.y,trimRespondLogic2.greThr.y,trimRespondLogic2.netRes.u2,$PRE.trimRespondLogic2.uniDel.y,trimRespondLogic2.uniDel.y,trimRespondLogic2.sampler.y,$PRE.booPul.pulseStart,booPul.pulseStart,reaToInt2.y,trimRespondLogic2.greEquThr1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (147): * Single equations (assignments): 147 * 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.0006141/1.537, allocations: 178.7 kB / 1.045 GB, free: 12.37 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004485/1.538, allocations: 83.05 kB / 1.045 GB, free: 12.29 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004042/1.542, allocations: 0.7347 MB / 1.046 GB, free: 11.77 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.095e-05/1.542, allocations: 12 kB / 1.046 GB, free: 11.76 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.372e-05/1.542, allocations: 7.906 kB / 1.046 GB, free: 11.75 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.36e-05/1.542, allocations: 3.984 kB / 1.046 GB, free: 11.75 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01058/1.552, allocations: 2.462 MB / 1.048 GB, free: 9.766 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.807e-05/1.552, allocations: 0 / 1.048 GB, free: 9.766 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001152/1.554, allocations: 110.2 kB / 1.048 GB, free: 9.664 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.177e-05/1.554, allocations: 8.188 kB / 1.048 GB, free: 9.656 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001607/1.554, allocations: 19.92 kB / 1.048 GB, free: 9.641 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.939e-05/1.554, allocations: 11.94 kB / 1.048 GB, free: 9.629 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.304e-05/1.554, allocations: 11.98 kB / 1.048 GB, free: 9.617 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002947/1.557, allocations: 1.069 MB / 1.049 GB, free: 8.66 MB / 0.6667 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00544/1.562, allocations: 1.454 MB / 1.051 GB, free: 7.328 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005042/1.563, allocations: 162.6 kB / 1.051 GB, free: 7.156 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006394/1.564, allocations: 15.67 kB / 1.051 GB, free: 7.145 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002142/1.566, allocations: 67.94 kB / 1.051 GB, free: 7.078 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000509/1.566, allocations: 94.86 kB / 1.051 GB, free: 7.008 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002084/1.567, allocations: 48.41 kB / 1.051 GB, free: 6.969 MB / 0.6667 GB Notification: Performance of sort global known variables: time 0.0009503/1.568, allocations: 323 kB / 1.051 GB, free: 6.734 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.003694/1.571, allocations: 219 kB / 1.051 GB, free: 6.52 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 58 (trimRespondLogic2.tim.u,trimRespondLogic2.sampler.sampleTrigger,trimRespondLogic2.uniDel.sampleTrigger,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition1,$whenCondition2,$whenCondition3,trimRespondLogic2.tim.y,trimRespondLogic2.tim.t_next,trimRespondLogic2.greThr.y,trimRespondLogic2.netRes.u2,trimRespondLogic2.uniDel.y,trimRespondLogic2.uniDel.firstTrigger,trimRespondLogic2.sampler.y,trimRespondLogic2.sampler.firstTrigger,booPul.pulseStart,reaToInt2.y,trimRespondLogic1.sampler.sampleTrigger,trimRespondLogic1.uniDel.sampleTrigger,trimRespondLogic.sampler.sampleTrigger,trimRespondLogic.uniDel.sampleTrigger,$whenCondition16,$whenCondition15,$whenCondition12,$whenCondition13,$whenCondition14,$whenCondition11,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition9,trimRespondLogic.tim.y,trimRespondLogic.tim.t_next,trimRespondLogic.greThr.y,trimRespondLogic.netRes.u2,trimRespondLogic.uniDel.y,trimRespondLogic.uniDel.firstTrigger,trimRespondLogic.sampler.y,trimRespondLogic.sampler.firstTrigger,trimRespondLogic1.tim.y,trimRespondLogic1.tim.t_next,trimRespondLogic1.greThr.y,trimRespondLogic1.netRes.u2,trimRespondLogic1.uniDel.y,trimRespondLogic1.uniDel.firstTrigger,trimRespondLogic1.sampler.y,trimRespondLogic1.sampler.firstTrigger,reaToInt1.y,trimRespondLogic.tim.u,trimRespondLogic1.tim.u,trimRespondLogic2.lesEquThr1.y,trimRespondLogic2.greEquThr.y,trimRespondLogic.lesEquThr1.y,trimRespondLogic.greEquThr.y,trimRespondLogic1.lesEquThr1.y,trimRespondLogic1.greEquThr.y) * Number of discrete states: 6 (trimRespondLogic1.tim.t_next,trimRespondLogic.tim.t_next,trimRespondLogic1.uniDel.u,trimRespondLogic.uniDel.u,trimRespondLogic2.tim.t_next,trimRespondLogic2.uniDel.u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (107): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 19 * 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.0007745/1.572, allocations: 167.7 kB / 1.052 GB, free: 6.352 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.003367/1.576, allocations: 0.7299 MB / 1.052 GB, free: 5.848 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 1.354e-05/1.576, allocations: 3.375 kB / 1.052 GB, free: 5.848 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.002606/1.578, allocations: 490.9 kB / 1.053 GB, free: 5.523 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001146/1.579, allocations: 68.36 kB / 1.053 GB, free: 5.477 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006032/1.586, allocations: 1.266 MB / 1.054 GB, free: 4.328 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001484/1.587, allocations: 1.15 MB / 1.055 GB, free: 3.156 MB / 0.6667 GB Notification: Performance of SimCode: time 1.703e-06/1.587, allocations: 0 / 1.055 GB, free: 3.156 MB / 0.6667 GB