Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestUtilities.Test02RegFun3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.Test02RegFun3") translateModel(ModelicaTest.Fluid.TestUtilities.Test02RegFun3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.Test02RegFun3") [: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/Complex 3.2.2+maint.om/package.mo): time 0.003476/0.003476, allocations: 186 kB / 7.458 MB, free: 2.309 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.356/1.356, allocations: 194.2 MB / 202.1 MB, free: 8.742 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001687/0.001687, allocations: 115.4 kB / 247.1 MB, free: 6.324 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1906/0.1906, allocations: 39.94 MB / 331.9 MB, free: 4.91 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 5.761e-06/5.781e-06, allocations: 0 / 392.8 MB, free: 75.91 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1011/0.1011, allocations: 54.87 MB / 447.6 MB, free: 21.02 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3179/0.4191, allocations: 79.67 MB / 0.515 GB, free: 9.969 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002519/0.4194, allocations: 70.53 kB / 0.515 GB, free: 9.965 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.02691/0.4463, allocations: 7.903 MB / 0.5227 GB, free: 8.238 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.244e-06/0.4464, allocations: 1.094 kB / 0.5227 GB, free: 8.238 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003392/0.4467, allocations: 334 kB / 0.5231 GB, free: 7.879 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/0.4468, allocations: 8.312 kB / 0.5231 GB, free: 7.879 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.262e-05/0.4468, allocations: 9 kB / 0.5231 GB, free: 7.875 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.835e-05/0.4469, allocations: 163.1 kB / 0.5232 GB, free: 7.676 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.02e-05/0.4469, allocations: 0.9375 kB / 0.5232 GB, free: 7.676 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.047e-06/0.4469, allocations: 1.219 kB / 0.5232 GB, free: 7.676 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.37e-05/0.447, allocations: 6.969 kB / 0.5232 GB, free: 7.672 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.687e-05/0.4471, allocations: 34.91 kB / 0.5233 GB, free: 7.637 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.864e-06/0.4471, allocations: 0 / 0.5233 GB, free: 7.637 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.21e-05/0.4471, allocations: 1.312 kB / 0.5233 GB, free: 7.637 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.4471, allocations: 7.844 kB / 0.5233 GB, free: 7.629 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002813/0.4474, allocations: 225.7 kB / 0.5235 GB, free: 7.383 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.53e-05/0.4475, allocations: 19.83 kB / 0.5235 GB, free: 7.359 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.285e-05/0.4475, allocations: 6.859 kB / 0.5235 GB, free: 7.352 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.232e-05/0.4475, allocations: 4.75 kB / 0.5235 GB, free: 7.348 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.761e-05/0.4475, allocations: 35.53 kB / 0.5236 GB, free: 7.305 MB / 346.7 MB Notification: Performance of pre-optimization done (n=1): time 1.082e-06/0.4475, allocations: 0 / 0.5236 GB, free: 7.305 MB / 346.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001783/0.4477, allocations: 32.17 kB / 0.5236 GB, free: 7.273 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.794e-05/0.4477, allocations: 55.44 kB / 0.5236 GB, free: 7.207 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.546e-05/0.4478, allocations: 91.19 kB / 0.5237 GB, free: 7.117 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.016e-05/0.4478, allocations: 31.08 kB / 0.5238 GB, free: 7.082 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.715e-05/0.4478, allocations: 88.03 kB / 0.5238 GB, free: 6.992 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.198e-06/0.4479, allocations: 1.375 kB / 0.5238 GB, free: 6.992 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.695e-06/0.4479, allocations: 0 / 0.5238 GB, free: 6.992 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.698e-05/0.4479, allocations: 319.1 kB / 0.5242 GB, free: 6.676 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.043e-05/0.4479, allocations: 5.5 kB / 0.5242 GB, free: 6.672 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.528e-05/0.448, allocations: 18.08 kB / 0.5242 GB, free: 6.648 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.836e-05/0.448, allocations: 8.344 kB / 0.5242 GB, free: 6.645 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.448, allocations: 0 / 0.5242 GB, free: 6.645 MB / 346.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.618e-05/0.4481, allocations: 46.5 kB / 0.5242 GB, free: 6.609 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.568e-06/0.4481, allocations: 4.125 kB / 0.5242 GB, free: 6.609 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.173e-05/0.4481, allocations: 10.94 kB / 0.5242 GB, free: 6.602 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.4481, allocations: 3.984 kB / 0.5242 GB, free: 6.598 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.518e-05/0.4482, allocations: 7.469 kB / 0.5243 GB, free: 6.594 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.4482, allocations: 4.984 kB / 0.5243 GB, free: 6.59 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.138e-05/0.4482, allocations: 6.312 kB / 0.5243 GB, free: 6.586 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.704e-06/0.4482, allocations: 1 kB / 0.5243 GB, free: 6.586 MB / 346.7 MB 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 (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 4.508e-05/0.4483, allocations: 102.2 kB / 0.5244 GB, free: 6.48 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.401e-05/0.4483, allocations: 1.156 kB / 0.5244 GB, free: 6.48 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001252/0.4484, allocations: 46.12 kB / 0.5244 GB, free: 6.434 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.4484, allocations: 3.984 kB / 0.5244 GB, free: 6.43 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.4485, allocations: 1.062 kB / 0.5244 GB, free: 6.43 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.4485, allocations: 3.906 kB / 0.5244 GB, free: 6.426 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.61e-05/0.4486, allocations: 128 kB / 0.5245 GB, free: 6.27 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.4486, allocations: 1 kB / 0.5245 GB, free: 6.27 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.063e-06/0.4486, allocations: 0 / 0.5245 GB, free: 6.27 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.4486, allocations: 7.906 kB / 0.5245 GB, free: 6.262 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.622e-06/0.4486, allocations: 5 kB / 0.5245 GB, free: 6.258 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.4486, allocations: 1.375 kB / 0.5245 GB, free: 6.258 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.4486, allocations: 3.984 kB / 0.5246 GB, free: 6.254 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.781e-05/0.4487, allocations: 130.4 kB / 0.5247 GB, free: 6.121 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.933e-05/0.4487, allocations: 78.27 kB / 0.5248 GB, free: 6.027 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.184e-05/0.4487, allocations: 1.188 kB / 0.5248 GB, free: 6.027 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.721e-05/0.4488, allocations: 0 / 0.5248 GB, free: 6.027 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.012e-05/0.4488, allocations: 9.016 kB / 0.5248 GB, free: 6.02 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.098e-06/0.4488, allocations: 1.062 kB / 0.5248 GB, free: 6.02 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.41e-05/0.4488, allocations: 77.56 kB / 0.5248 GB, free: 5.945 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003262/0.4492, allocations: 51 kB / 0.5249 GB, free: 5.93 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0002721/0.4495, allocations: 150.4 kB / 0.525 GB, free: 5.824 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 6.92e-05/0.4495, allocations: 36.3 kB / 0.5251 GB, free: 5.789 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.4495, allocations: 1.594 kB / 0.5251 GB, free: 5.789 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.118e-05/0.4496, allocations: 31.2 kB / 0.5251 GB, free: 5.754 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001213/0.4497, allocations: 5.281 kB / 0.5251 GB, free: 5.75 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001752/0.4499, allocations: 55.11 kB / 0.5252 GB, free: 5.684 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001027/0.45, allocations: 0.6804 MB / 0.5258 GB, free: 4.98 MB / 346.7 MB Notification: Performance of SimCode: time 2.71e-07/0.45, allocations: 0 / 0.5258 GB, free: 4.98 MB / 346.7 MB Notification: Performance of Templates: time 0.002743/0.4527, allocations: 0.9754 MB / 0.5268 GB, free: 4.484 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.Test02RegFun3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe 2>&1)