Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.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.FixedResistances.Validation.LosslessPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.FixedResistances.Validation.LosslessPipe") [: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.035/2.035, allocations: 253.1 MB / 260.4 MB, free: 7.562 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.001575/0.001575, allocations: 185.2 kB / 319.6 MB, free: 3.332 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 1.895/1.895, allocations: 205.4 MB / 0.5704 GB, free: 15.08 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.001376/0.001375, allocations: 104.6 kB / 0.6746 GB, free: 4.438 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.397e-06/9.678e-06, allocations: 0 / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2132/0.2132, allocations: 106.2 MB / 0.888 GB, free: 12.24 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.473/5.687, allocations: 2.178 GB / 3.066 GB, free: 185 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003422/5.687, allocations: 77.27 kB / 3.066 GB, free: 185 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.129/6.816, allocations: 207.8 MB / 3.269 GB, free: 258.9 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 3.047e-05/6.816, allocations: 14.19 kB / 3.269 GB, free: 258.9 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.002609/6.819, allocations: 0.5924 MB / 3.27 GB, free: 258.5 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.718e-05/6.819, allocations: 13.78 kB / 3.27 GB, free: 258.5 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004881/6.819, allocations: 52.84 kB / 3.27 GB, free: 258.5 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005707/6.82, allocations: 283.2 kB / 3.27 GB, free: 258.3 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.855e-05/6.82, allocations: 7.781 kB / 3.27 GB, free: 258.3 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.598e-05/6.82, allocations: 9.062 kB / 3.27 GB, free: 258.3 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005024/6.82, allocations: 168.5 kB / 3.27 GB, free: 258.3 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004736/6.821, allocations: 186.6 kB / 3.27 GB, free: 258.3 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.422e-05/6.821, allocations: 10.66 kB / 3.27 GB, free: 258.3 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.434e-05/6.821, allocations: 0 / 3.27 GB, free: 258.3 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.665e-05/6.821, allocations: 14.72 kB / 3.27 GB, free: 258.3 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002106/6.823, allocations: 0.8425 MB / 3.271 GB, free: 257.9 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003034/6.823, allocations: 128.2 kB / 3.271 GB, free: 257.8 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002155/6.824, allocations: 95.58 kB / 3.271 GB, free: 257.8 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003742/6.824, allocations: 188.8 kB / 3.271 GB, free: 257.6 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.927e-05/6.824, allocations: 33.44 kB / 3.272 GB, free: 257.6 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=14): time 3.016e-06/6.824, allocations: 0 / 3.272 GB, free: 257.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=14): time 0.0009185/6.825, allocations: 225.6 kB / 3.272 GB, free: 257.6 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.096e-05/6.825, allocations: 58.12 kB / 3.272 GB, free: 257.5 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000202/6.825, allocations: 161.4 kB / 3.272 GB, free: 257.4 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.268e-05/6.825, allocations: 28.66 kB / 3.272 GB, free: 257.4 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 7.316e-05/6.825, allocations: 130.1 kB / 3.272 GB, free: 257.3 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 5.319e-05/6.826, allocations: 50.77 kB / 3.272 GB, free: 257.2 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.847e-05/6.826, allocations: 0 / 3.272 GB, free: 257.2 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.911e-05/6.826, allocations: 327.8 kB / 3.272 GB, free: 256.9 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001787/6.826, allocations: 73.75 kB / 3.273 GB, free: 256.9 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002335/6.826, allocations: 114 kB / 3.273 GB, free: 256.9 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001915/6.826, allocations: 70.05 kB / 3.273 GB, free: 256.9 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.603e-06/6.826, allocations: 3.516 kB / 3.273 GB, free: 256.9 MB / 0.8698 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005403/6.827, allocations: 203.3 kB / 3.273 GB, free: 256.9 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/6.827, allocations: 10.22 kB / 3.273 GB, free: 256.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.625e-05/6.827, allocations: 0 / 3.273 GB, free: 256.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.979e-05/6.827, allocations: 0 / 3.273 GB, free: 256.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004735/6.827, allocations: 40.83 kB / 3.273 GB, free: 256.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.234e-06/6.827, allocations: 3.188 kB / 3.273 GB, free: 256.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004194/6.828, allocations: 22.97 kB / 3.273 GB, free: 256.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.441e-05/6.828, allocations: 6.312 kB / 3.273 GB, free: 256.8 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.000114/6.828, allocations: 117.6 kB / 3.273 GB, free: 256.7 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.968e-05/6.828, allocations: 21 kB / 3.273 GB, free: 256.7 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001193/6.828, allocations: 23.5 kB / 3.273 GB, free: 256.7 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.09e-06/6.828, allocations: 0 / 3.273 GB, free: 256.7 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.709e-06/6.828, allocations: 7.516 kB / 3.273 GB, free: 256.7 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/6.828, allocations: 3.219 kB / 3.273 GB, free: 256.7 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001444/6.83, allocations: 0.6438 MB / 3.274 GB, free: 256.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.426e-06/6.83, allocations: 3.375 kB / 3.274 GB, free: 256.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004238/6.83, allocations: 42.34 kB / 3.274 GB, free: 256.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.788e-06/6.83, allocations: 3.75 kB / 3.274 GB, free: 256.4 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.988e-05/6.83, allocations: 6.031 kB / 3.274 GB, free: 256.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.093e-06/6.83, allocations: 5.906 kB / 3.274 GB, free: 256.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.06e-06/6.83, allocations: 3.531 kB / 3.274 GB, free: 256.4 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006266/6.831, allocations: 433.5 kB / 3.274 GB, free: 256.1 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001579/6.831, allocations: 117.2 kB / 3.274 GB, free: 256 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.584e-05/6.831, allocations: 3.969 kB / 3.274 GB, free: 256 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004074/6.832, allocations: 22.47 kB / 3.274 GB, free: 256 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.892e-05/6.832, allocations: 11.66 kB / 3.274 GB, free: 256 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.818e-05/6.832, allocations: 7.812 kB / 3.274 GB, free: 256 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0001311/6.832, allocations: 126.1 kB / 3.275 GB, free: 255.9 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0007589/6.833, allocations: 117.9 kB / 3.275 GB, free: 255.9 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 14 * 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.001716/6.834, allocations: 1.009 MB / 3.276 GB, free: 255.7 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0006197/6.835, allocations: 168.1 kB / 3.276 GB, free: 255.7 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.728e-06/6.835, allocations: 0 / 3.276 GB, free: 255.7 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002464/6.835, allocations: 99.98 kB / 3.276 GB, free: 255.7 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009409/6.836, allocations: 67.14 kB / 3.276 GB, free: 255.7 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009523/6.837, allocations: 320.2 kB / 3.276 GB, free: 255.6 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004398/6.838, allocations: 0.7919 MB / 3.277 GB, free: 254.8 MB / 0.8698 GB Notification: Performance of SimCode: time 1.062e-06/6.838, allocations: 0 / 3.277 GB, free: 254.8 MB / 0.8698 GB Notification: Performance of Templates: time 0.02376/6.862, allocations: 8.677 MB / 3.285 GB, free: 254.7 MB / 0.8698 GB