Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.SpecificEntropy.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.Fluid.Sensors.Examples.SpecificEntropy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.SpecificEntropy") [: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.167/2.167, allocations: 253.1 MB / 260.4 MB, free: 7.594 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.001611/0.001611, allocations: 177.3 kB / 319.6 MB, free: 3.309 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.283/2.283, allocations: 205.4 MB / 0.5704 GB, free: 15.03 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.001268/0.001267, allocations: 103.3 kB / 0.6746 GB, free: 4.375 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.334e-05/1.349e-05, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.198/0.198, allocations: 106.2 MB / 0.888 GB, free: 12.17 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.714/5.912, allocations: 2.18 GB / 3.068 GB, free: 183 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002849/5.913, allocations: 80.33 kB / 3.068 GB, free: 183 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.179/7.092, allocations: 215 MB / 3.278 GB, free: 247.7 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 3.901e-05/7.092, allocations: 5.625 kB / 3.278 GB, free: 247.7 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.001901/7.094, allocations: 0.6133 MB / 3.278 GB, free: 247.3 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.665e-05/7.094, allocations: 14 kB / 3.279 GB, free: 247.3 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001709/7.096, allocations: 83.81 kB / 3.279 GB, free: 247.3 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009769/7.097, allocations: 292.2 kB / 3.279 GB, free: 247.1 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.608e-05/7.097, allocations: 12.03 kB / 3.279 GB, free: 247.1 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.429e-05/7.097, allocations: 10.16 kB / 3.279 GB, free: 247.1 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007014/7.097, allocations: 149.6 kB / 3.279 GB, free: 247.1 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007478/7.098, allocations: 251.1 kB / 3.279 GB, free: 247 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.154e-05/7.098, allocations: 0 / 3.279 GB, free: 247 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.813e-05/7.098, allocations: 3.906 kB / 3.279 GB, free: 247 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.446e-05/7.098, allocations: 3.844 kB / 3.279 GB, free: 247 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003992/7.102, allocations: 1.428 MB / 3.281 GB, free: 246 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003433/7.103, allocations: 138.3 kB / 3.281 GB, free: 245.8 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002032/7.103, allocations: 72.39 kB / 3.281 GB, free: 245.8 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006013/7.104, allocations: 119.4 kB / 3.281 GB, free: 245.7 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.912e-05/7.104, allocations: 38.69 kB / 3.281 GB, free: 245.7 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=10): time 5.491e-06/7.104, allocations: 0 / 3.281 GB, free: 245.7 MB / 0.8698 GB Notification: Performance of matching and sorting (n=10): time 0.001055/7.105, allocations: 146.6 kB / 3.281 GB, free: 245.6 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.721e-05/7.105, allocations: 158.1 kB / 3.281 GB, free: 245.4 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004118/7.105, allocations: 201.6 kB / 3.282 GB, free: 245.3 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.56e-05/7.105, allocations: 28.3 kB / 3.282 GB, free: 245.3 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000119/7.106, allocations: 149.1 kB / 3.282 GB, free: 245.2 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 5.489e-05/7.106, allocations: 36.92 kB / 3.282 GB, free: 245.2 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.22e-05/7.106, allocations: 0 / 3.282 GB, free: 245.2 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001058/7.106, allocations: 333.8 kB / 3.282 GB, free: 244.9 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002062/7.106, allocations: 47.34 kB / 3.282 GB, free: 244.9 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003001/7.106, allocations: 133 kB / 3.282 GB, free: 244.8 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006573/7.107, allocations: 98.55 kB / 3.282 GB, free: 244.8 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.923e-06/7.107, allocations: 5.172 kB / 3.282 GB, free: 244.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001334/7.108, allocations: 222.3 kB / 3.283 GB, free: 244.7 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.412e-05/7.108, allocations: 3.406 kB / 3.283 GB, free: 244.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.344e-05/7.108, allocations: 7.219 kB / 3.283 GB, free: 244.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.878e-05/7.109, allocations: 3.688 kB / 3.283 GB, free: 244.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00058/7.109, allocations: 43.53 kB / 3.283 GB, free: 244.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.711e-05/7.109, allocations: 2.531 kB / 3.283 GB, free: 244.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007036/7.11, allocations: 30.83 kB / 3.283 GB, free: 244.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.584e-05/7.11, allocations: 14.17 kB / 3.283 GB, free: 244.7 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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.000149/7.11, allocations: 113.3 kB / 3.283 GB, free: 244.6 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003346/7.111, allocations: 15.62 kB / 3.283 GB, free: 244.6 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007261/7.111, allocations: 121.5 kB / 3.283 GB, free: 244.6 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.446e-06/7.111, allocations: 0 / 3.283 GB, free: 244.6 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.048e-05/7.111, allocations: 6.688 kB / 3.283 GB, free: 244.6 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.866e-06/7.111, allocations: 0 / 3.283 GB, free: 244.6 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002263/7.114, allocations: 0.799 MB / 3.284 GB, free: 244 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.414e-06/7.114, allocations: 0 / 3.284 GB, free: 244 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003865/7.114, allocations: 35.23 kB / 3.284 GB, free: 244 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.252e-05/7.114, allocations: 3.781 kB / 3.284 GB, free: 244 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.687e-05/7.114, allocations: 3.906 kB / 3.284 GB, free: 244 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.454e-06/7.114, allocations: 6.938 kB / 3.284 GB, free: 244 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.981e-06/7.114, allocations: 0 / 3.284 GB, free: 244 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009208/7.115, allocations: 360.1 kB / 3.284 GB, free: 243.7 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001424/7.115, allocations: 113.9 kB / 3.284 GB, free: 243.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.424e-05/7.115, allocations: 11.36 kB / 3.284 GB, free: 243.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002951/7.116, allocations: 7.875 kB / 3.284 GB, free: 243.6 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.009e-05/7.116, allocations: 11.48 kB / 3.284 GB, free: 243.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.369e-05/7.116, allocations: 9.219 kB / 3.284 GB, free: 243.6 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0002015/7.116, allocations: 169.2 kB / 3.284 GB, free: 243.5 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0009674/7.117, allocations: 170.2 kB / 3.284 GB, free: 243.5 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.s) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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.002032/7.119, allocations: 1.174 MB / 3.286 GB, free: 243.3 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0004365/7.12, allocations: 118.5 kB / 3.286 GB, free: 243.3 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/7.12, allocations: 0 / 3.286 GB, free: 243.3 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001165/7.12, allocations: 46.25 kB / 3.286 GB, free: 243.3 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007262/7.12, allocations: 51.06 kB / 3.286 GB, free: 243.3 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001026/7.121, allocations: 361.7 kB / 3.286 GB, free: 243.1 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003923/7.122, allocations: 0.7789 MB / 3.287 GB, free: 242.4 MB / 0.8698 GB Notification: Performance of SimCode: time 1.553e-06/7.122, allocations: 3.344 kB / 3.287 GB, free: 242.4 MB / 0.8698 GB Notification: Performance of Templates: time 0.02485/7.147, allocations: 9.62 MB / 3.296 GB, free: 242.2 MB / 0.8698 GB