Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.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.Utilities.Validation.OptimalStartNoHeatingNoCooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling") [: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.144/2.144, allocations: 253.1 MB / 260.4 MB, free: 7.547 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.001643/0.001643, allocations: 181.3 kB / 319.6 MB, free: 3.305 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.042/2.042, allocations: 205.4 MB / 0.5704 GB, free: 15.02 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.001277/0.001276, allocations: 101.8 kB / 0.6746 GB, free: 4.379 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.09e-05/1.108e-05, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2162/0.2162, allocations: 106.2 MB / 0.888 GB, free: 12.16 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6662/0.8825, allocations: 142.8 MB / 1.027 GB, free: 11.68 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003067/0.8828, allocations: 72.95 kB / 1.028 GB, free: 11.64 MB / 0.6511 GB Notification: Performance of FrontEnd: time 0.07819/0.9611, allocations: 12.11 MB / 1.039 GB, free: 1.551 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001468/0.9613, allocations: 16 kB / 1.039 GB, free: 1.535 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: 156 * Number of variables: 156 Notification: Performance of Generate backend data structure: time 0.004789/0.9661, allocations: 0.9952 MB / 1.04 GB, free: 0.5391 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.989e-05/0.9662, allocations: 8.031 kB / 1.04 GB, free: 0.5312 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000584/0.9668, allocations: 98.88 kB / 1.04 GB, free: 444 kB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003106/0.9699, allocations: 498.1 kB / 1.041 GB, free: 15.98 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.649e-05/0.97, allocations: 27.98 kB / 1.041 GB, free: 15.95 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003084/0.9704, allocations: 48 kB / 1.041 GB, free: 15.9 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002799/0.9732, allocations: 380.1 kB / 1.041 GB, free: 15.67 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003143/0.9764, allocations: 0.5835 MB / 1.042 GB, free: 15.2 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.541e-05/0.9765, allocations: 0 / 1.042 GB, free: 15.2 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001321/0.9766, allocations: 4 kB / 1.042 GB, free: 15.19 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.079e-05/0.9767, allocations: 20 kB / 1.042 GB, free: 15.17 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009547/0.9862, allocations: 2.404 MB / 1.044 GB, free: 13.07 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002856/0.9892, allocations: 0.4961 MB / 1.045 GB, free: 12.71 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008932/0.9901, allocations: 229.8 kB / 1.045 GB, free: 12.56 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 6.448e-05/0.9902, allocations: 4.5 kB / 1.045 GB, free: 12.55 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008197/0.991, allocations: 332.2 kB / 1.045 GB, free: 12.3 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=62): time 3.918e-06/0.9911, allocations: 0 / 1.045 GB, free: 12.3 MB / 0.6667 GB Notification: Performance of matching and sorting (n=62): time 0.001522/0.9926, allocations: 484.9 kB / 1.046 GB, free: 11.93 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001147/0.9927, allocations: 141 kB / 1.046 GB, free: 11.76 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008108/0.9936, allocations: 391.3 kB / 1.046 GB, free: 11.46 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001575/0.9937, allocations: 33.7 kB / 1.046 GB, free: 11.42 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002838/0.994, allocations: 253.5 kB / 1.047 GB, free: 11.2 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002418/0.9943, allocations: 196 kB / 1.047 GB, free: 11.03 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.019e-05/0.9944, allocations: 4 kB / 1.047 GB, free: 11.03 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0002163/0.9946, allocations: 376.5 kB / 1.047 GB, free: 10.68 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006585/0.9953, allocations: 198.2 kB / 1.047 GB, free: 10.56 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007562/0.996, allocations: 310.3 kB / 1.048 GB, free: 10.32 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007558/0.9968, allocations: 212.2 kB / 1.048 GB, free: 10.18 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.06e-06/0.9968, allocations: 4 kB / 1.048 GB, free: 10.18 MB / 0.6667 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001885/0.9987, allocations: 0.5943 MB / 1.048 GB, free: 9.723 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002886/0.999, allocations: 0.6141 MB / 1.049 GB, free: 9.074 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.656e-05/0.9991, allocations: 4 kB / 1.049 GB, free: 9.07 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.775e-05/0.9991, allocations: 7.938 kB / 1.049 GB, free: 9.062 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001106/1, allocations: 127.7 kB / 1.049 GB, free: 8.941 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.461e-05/1, allocations: 7.938 kB / 1.049 GB, free: 8.934 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001186/1.001, allocations: 115.5 kB / 1.049 GB, free: 8.82 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.84e-05/1.002, allocations: 27.81 kB / 1.049 GB, free: 8.801 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/1.002, allocations: 4 kB / 1.049 GB, free: 8.797 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001673/1.003, allocations: 0.4948 MB / 1.05 GB, free: 8.438 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.233e-06/1.003, allocations: 0 / 1.05 GB, free: 8.438 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/1.003, allocations: 4 kB / 1.05 GB, free: 8.434 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009301/1.004, allocations: 111.8 kB / 1.05 GB, free: 8.328 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.628e-06/1.004, allocations: 4 kB / 1.05 GB, free: 8.324 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00109/1.005, allocations: 103.6 kB / 1.05 GB, free: 8.223 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.563e-05/1.006, allocations: 23.25 kB / 1.05 GB, free: 8.207 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 30 ($whenCondition3,$whenCondition1,$whenCondition2,$PRE.optSta.hysSta.y,optSta.hysSta.y,optSta.falEdg.y,$PRE.optSta.falEdg.not_u,optSta.falEdg.not_u,$PRE.occSch.occupied,occSch.occupied,$PRE.occSch.nexStaInd,occSch.nexStaInd,$PRE.occSch.nexStoInd,occSch.nexStoInd,$PRE.occSch.iPerSta,occSch.iPerSta,$PRE.occSch.iPerSto,occSch.iPerSto,$PRE.occSch.tOcc,occSch.tOcc,$PRE.occSch.tNonOcc,occSch.tNonOcc,$PRE.pul.T_start,pul.T_start,$PRE.pul.count,pul.count,booToRea1.u,conPID.I.trigger_internal,conPID1.I.trigger_internal,TRoo.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 1 * 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.000304/1.006, allocations: 138.9 kB / 1.05 GB, free: 8.07 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001794/1.006, allocations: 67.23 kB / 1.05 GB, free: 8.004 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002536/1.006, allocations: 67.12 kB / 1.05 GB, free: 7.969 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-05/1.006, allocations: 7.938 kB / 1.05 GB, free: 7.961 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.068e-05/1.006, allocations: 4 kB / 1.05 GB, free: 7.957 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.144e-05/1.006, allocations: 3.984 kB / 1.05 GB, free: 7.953 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002569/1.009, allocations: 1.099 MB / 1.051 GB, free: 7.07 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.071e-05/1.009, allocations: 0 / 1.051 GB, free: 7.07 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001037/1.01, allocations: 107.4 kB / 1.051 GB, free: 6.969 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.612e-05/1.01, allocations: 7.938 kB / 1.051 GB, free: 6.961 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.086e-05/1.01, allocations: 11.89 kB / 1.051 GB, free: 6.949 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.486e-06/1.01, allocations: 8 kB / 1.051 GB, free: 6.941 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/1.01, allocations: 0 / 1.051 GB, free: 6.941 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002268/1.013, allocations: 0.884 MB / 1.052 GB, free: 6.25 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000228/1.013, allocations: 135 kB / 1.052 GB, free: 6.102 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002141/1.013, allocations: 14.86 kB / 1.052 GB, free: 6.09 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008502/1.014, allocations: 56.02 kB / 1.053 GB, free: 6.035 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001877/1.014, allocations: 58.44 kB / 1.053 GB, free: 5.988 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.106e-05/1.014, allocations: 26.05 kB / 1.053 GB, free: 5.969 MB / 0.6667 GB Notification: Performance of sort global known variables: time 0.0005309/1.015, allocations: 296.9 kB / 1.053 GB, free: 5.746 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001214/1.016, allocations: 254.9 kB / 1.053 GB, free: 5.5 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (TRoo.y,conPID1.I.y,conPID.I.y) * Number of discrete variables: 15 ($whenCondition3,$whenCondition1,$whenCondition2,optSta.hysSta.y,optSta.falEdg.y,optSta.falEdg.not_u,occSch.occupied,occSch.nexStaInd,occSch.nexStoInd,occSch.iPerSta,occSch.iPerSto,occSch.tOcc,occSch.tNonOcc,pul.T_start,pul.count) * Number of discrete states: 10 (pul.count,occSch.tNonOcc,occSch.tOcc,occSch.iPerSto,occSch.nexStoInd,occSch.occupied,occSch.nexStaInd,occSch.iPerSta,optSta.hysSta.y,optSta.falEdg.not_u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * 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.000344/1.016, allocations: 134.8 kB / 1.053 GB, free: 5.359 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.002621/1.019, allocations: 0.9387 MB / 1.054 GB, free: 4.715 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 6.863e-06/1.019, allocations: 0 / 1.054 GB, free: 4.715 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0008595/1.02, allocations: 261.4 kB / 1.054 GB, free: 4.535 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001195/1.021, allocations: 101.7 kB / 1.055 GB, free: 4.453 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003308/1.024, allocations: 0.8645 MB / 1.055 GB, free: 3.664 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001252/1.026, allocations: 0.9842 MB / 1.056 GB, free: 2.656 MB / 0.6667 GB Notification: Performance of SimCode: time 1.443e-06/1.026, allocations: 0 / 1.056 GB, free: 2.656 MB / 0.6667 GB Notification: Performance of Templates: time 0.035/1.061, allocations: 10.15 MB / 1.066 GB, free: 8.602 MB / 0.6823 GB