Running: ./testmodel.py --libraries=/var/lib/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 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.TrimAndRespond,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.TrimAndRespond") [: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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.325/2.325, allocations: 253.1 MB / 260.4 MB, free: 7.586 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001708/0.001708, allocations: 181.2 kB / 319.6 MB, free: 3.312 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.131/2.131, allocations: 205.4 MB / 0.5704 GB, free: 15.06 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.003448/0.003448, allocations: 90.22 kB / 0.6746 GB, free: 4.438 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.21e-05/1.235e-05, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2703/0.2703, allocations: 106.2 MB / 0.8881 GB, free: 12.16 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.821/1.091, allocations: 135.2 MB / 1.02 GB, free: 3.16 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003074/1.092, allocations: 74.75 kB / 1.02 GB, free: 3.117 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.08287/1.175, allocations: 16.98 MB / 1.037 GB, free: 4.977 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 9.034e-05/1.175, allocations: 24 kB / 1.037 GB, free: 4.953 MB / 0.6511 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.007386/1.182, allocations: 1.296 MB / 1.038 GB, free: 3.656 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 7.843e-05/1.182, allocations: 12.03 kB / 1.038 GB, free: 3.645 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001149/1.184, allocations: 146.3 kB / 1.038 GB, free: 3.5 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001007/1.185, allocations: 361.1 kB / 1.039 GB, free: 3.117 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002773/1.185, allocations: 47.17 kB / 1.039 GB, free: 3.074 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006722/1.186, allocations: 83.98 kB / 1.039 GB, free: 2.992 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004654/1.19, allocations: 0.6958 MB / 1.039 GB, free: 2.57 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005675/1.196, allocations: 0.9181 MB / 1.04 GB, free: 1.895 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.407e-05/1.196, allocations: 0 / 1.04 GB, free: 1.895 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002342/1.196, allocations: 11.97 kB / 1.04 GB, free: 1.883 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.697e-05/1.197, allocations: 31.91 kB / 1.04 GB, free: 1.852 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01355/1.21, allocations: 2.635 MB / 1.043 GB, free: 15.86 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003926/1.214, allocations: 0.7857 MB / 1.044 GB, free: 15.32 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001489/1.216, allocations: 293.7 kB / 1.044 GB, free: 15.15 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001382/1.216, allocations: 20.75 kB / 1.044 GB, free: 15.13 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002222/1.218, allocations: 0.5282 MB / 1.044 GB, free: 14.72 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=107): time 8.836e-06/1.218, allocations: 0 / 1.044 GB, free: 14.72 MB / 0.6667 GB Notification: Performance of matching and sorting (n=107): time 0.004263/1.223, allocations: 0.7272 MB / 1.045 GB, free: 14.18 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003128/1.223, allocations: 259.1 kB / 1.045 GB, free: 13.88 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001757/1.225, allocations: 471.8 kB / 1.046 GB, free: 13.53 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0004121/1.225, allocations: 33.27 kB / 1.046 GB, free: 13.49 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.000829/1.226, allocations: 409.9 kB / 1.046 GB, free: 13.13 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008701/1.227, allocations: 264.7 kB / 1.047 GB, free: 12.91 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001454/1.227, allocations: 8.188 kB / 1.047 GB, free: 12.9 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0004776/1.228, allocations: 386.6 kB / 1.047 GB, free: 12.55 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001218/1.229, allocations: 249.6 kB / 1.047 GB, free: 12.41 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001635/1.231, allocations: 0.5038 MB / 1.048 GB, free: 11.92 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001404/1.232, allocations: 297.3 kB / 1.048 GB, free: 11.73 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.496e-05/1.232, allocations: 4 kB / 1.048 GB, free: 11.73 MB / 0.6667 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.004216/1.236, allocations: 0.8264 MB / 1.049 GB, free: 11.09 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 4.005e-05/1.236, allocations: 4 kB / 1.049 GB, free: 11.08 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.82e-05/1.237, allocations: 11.91 kB / 1.049 GB, free: 11.07 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.722e-05/1.237, allocations: 19.94 kB / 1.049 GB, free: 11.05 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002318/1.239, allocations: 177.9 kB / 1.049 GB, free: 10.89 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.477e-05/1.239, allocations: 19.92 kB / 1.049 GB, free: 10.87 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002003/1.241, allocations: 103.5 kB / 1.049 GB, free: 10.77 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002755/1.241, allocations: 46.12 kB / 1.049 GB, free: 10.73 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.0006069/1.242, allocations: 175.8 kB / 1.049 GB, free: 10.55 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004124/1.242, allocations: 87.05 kB / 1.049 GB, free: 10.46 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003483/1.246, allocations: 0.7375 MB / 1.05 GB, free: 9.949 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.645e-05/1.246, allocations: 12 kB / 1.05 GB, free: 9.938 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.624e-05/1.246, allocations: 7.906 kB / 1.05 GB, free: 9.93 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.683e-05/1.246, allocations: 3.984 kB / 1.05 GB, free: 9.926 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009512/1.256, allocations: 2.466 MB / 1.053 GB, free: 7.941 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.568e-05/1.256, allocations: 256 / 1.053 GB, free: 7.941 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001325/1.257, allocations: 111.7 kB / 1.053 GB, free: 7.836 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.301e-05/1.257, allocations: 4 kB / 1.053 GB, free: 7.832 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002619/1.258, allocations: 15.86 kB / 1.053 GB, free: 7.82 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-05/1.258, allocations: 11.94 kB / 1.053 GB, free: 7.809 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.428e-05/1.258, allocations: 7.984 kB / 1.053 GB, free: 7.801 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003825/1.261, allocations: 1.071 MB / 1.054 GB, free: 6.844 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003645/1.262, allocations: 159.6 kB / 1.054 GB, free: 6.672 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003011/1.262, allocations: 15.73 kB / 1.054 GB, free: 6.66 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001718/1.264, allocations: 71.92 kB / 1.054 GB, free: 6.59 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004802/1.264, allocations: 99.3 kB / 1.054 GB, free: 6.516 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001795/1.265, allocations: 42.8 kB / 1.054 GB, free: 6.484 MB / 0.6667 GB Notification: Performance of sort global known variables: time 0.0008894/1.266, allocations: 323.8 kB / 1.054 GB, free: 6.25 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.002011/1.268, allocations: 219.1 kB / 1.055 GB, free: 6.035 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.0004647/1.268, allocations: 154.7 kB / 1.055 GB, free: 5.879 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.003188/1.271, allocations: 0.7337 MB / 1.055 GB, free: 5.371 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 1.146e-05/1.271, allocations: 0 / 1.055 GB, free: 5.371 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.002265/1.274, allocations: 480.8 kB / 1.056 GB, free: 5.059 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001477/1.275, allocations: 73.83 kB / 1.056 GB, free: 5.008 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006753/1.282, allocations: 1.269 MB / 1.057 GB, free: 3.859 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002336/1.284, allocations: 1.148 MB / 1.058 GB, free: 2.691 MB / 0.6667 GB Notification: Performance of SimCode: time 5.931e-06/1.284, allocations: 0 / 1.058 GB, free: 2.691 MB / 0.6667 GB Notification: Performance of Templates: time 0.04353/1.328, allocations: 8.566 MB / 1.067 GB, free: 10.2 MB / 0.6823 GB