Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Sources.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.FluxTubes.Sources,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Sources") translateModel(ModelicaTest.FluxTubes.Sources,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Sources") [: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.003399/0.003399, allocations: 183.4 kB / 7.458 MB, free: 2.504 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.318/1.318, allocations: 194.2 MB / 202.1 MB, free: 8.719 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.001831/0.001831, allocations: 119.1 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.1842/0.1842, allocations: 39.94 MB / 331.9 MB, free: 4.91 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 6.783e-06/6.823e-06, allocations: 4 kB / 392.8 MB, free: 75.89 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09829/0.09831, allocations: 54.86 MB / 447.6 MB, free: 21.01 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3119/0.4103, allocations: 82.1 MB / 0.5173 GB, free: 10.07 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002067/0.4105, allocations: 64.42 kB / 0.5174 GB, free: 10.07 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.01805/0.4286, allocations: 6.512 MB / 0.5237 GB, free: 8.211 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.903e-05/0.4287, allocations: 7.25 kB / 0.5238 GB, free: 8.211 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: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.001139/0.4298, allocations: 0.6105 MB / 0.5243 GB, free: 7.711 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.731e-05/0.4299, allocations: 7.844 kB / 0.5244 GB, free: 7.711 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001384/0.43, allocations: 39.88 kB / 0.5244 GB, free: 7.691 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004162/0.4304, allocations: 271.6 kB / 0.5247 GB, free: 7.438 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.848e-05/0.4305, allocations: 9.938 kB / 0.5247 GB, free: 7.438 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.245e-05/0.4305, allocations: 22.84 kB / 0.5247 GB, free: 7.434 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004222/0.431, allocations: 197.5 kB / 0.5249 GB, free: 7.422 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004672/0.4314, allocations: 281 kB / 0.5251 GB, free: 7.305 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.405e-05/0.4315, allocations: 1.281 kB / 0.5251 GB, free: 7.305 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.408e-05/0.4315, allocations: 0 / 0.5251 GB, free: 7.305 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.477e-05/0.4315, allocations: 9.156 kB / 0.5252 GB, free: 7.305 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00175/0.4333, allocations: 1.209 MB / 0.5263 GB, free: 6.441 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003125/0.4336, allocations: 166.2 kB / 0.5265 GB, free: 6.328 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.27e-05/0.4337, allocations: 56.16 kB / 0.5265 GB, free: 6.293 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.031e-05/0.4337, allocations: 1.438 kB / 0.5265 GB, free: 6.293 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.674e-05/0.4337, allocations: 36.38 kB / 0.5266 GB, free: 6.254 MB / 346.7 MB Notification: Performance of pre-optimization done (n=15): time 1.473e-06/0.4338, allocations: 3.938 kB / 0.5266 GB, free: 6.25 MB / 346.7 MB Notification: Performance of matching and sorting (n=15): time 0.0003596/0.4341, allocations: 131.1 kB / 0.5267 GB, free: 6.191 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.681e-05/0.4342, allocations: 134.6 kB / 0.5268 GB, free: 6.031 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002418/0.4344, allocations: 235.8 kB / 0.5271 GB, free: 5.91 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.704e-05/0.4344, allocations: 26.7 kB / 0.5271 GB, free: 5.879 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.743e-05/0.4345, allocations: 218.6 kB / 0.5273 GB, free: 5.695 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.482e-05/0.4346, allocations: 49.39 kB / 0.5273 GB, free: 5.66 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.088e-05/0.4346, allocations: 0 / 0.5273 GB, free: 5.66 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.038e-05/0.4347, allocations: 338.2 kB / 0.5277 GB, free: 5.336 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001036/0.4348, allocations: 48.69 kB / 0.5277 GB, free: 5.332 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001277/0.4349, allocations: 127.4 kB / 0.5278 GB, free: 5.227 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001244/0.4351, allocations: 74.61 kB / 0.5279 GB, free: 5.207 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.4351, allocations: 1.219 kB / 0.5279 GB, free: 5.207 MB / 346.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003753/0.4354, allocations: 223.2 kB / 0.5281 GB, free: 5.129 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.4355, allocations: 4.938 kB / 0.5281 GB, free: 5.129 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.766e-06/0.4355, allocations: 3.484 kB / 0.5281 GB, free: 5.129 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.038e-05/0.4355, allocations: 9.234 kB / 0.5281 GB, free: 5.125 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000366/0.4359, allocations: 84.73 kB / 0.5282 GB, free: 5.105 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.292e-05/0.4359, allocations: 9.719 kB / 0.5282 GB, free: 5.102 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002877/0.4362, allocations: 39.17 kB / 0.5283 GB, free: 5.082 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.384e-05/0.4362, allocations: 13.64 kB / 0.5283 GB, free: 5.078 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 34 * 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 7.729e-05/0.4363, allocations: 127 kB / 0.5284 GB, free: 4.953 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000108/0.4364, allocations: 23.62 kB / 0.5284 GB, free: 4.941 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.057e-05/0.4365, allocations: 26.98 kB / 0.5284 GB, free: 4.93 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.4365, allocations: 2.094 kB / 0.5284 GB, free: 4.93 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.715e-06/0.4365, allocations: 2.031 kB / 0.5284 GB, free: 4.93 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.632e-06/0.4365, allocations: 1 kB / 0.5285 GB, free: 4.93 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006779/0.4372, allocations: 0.5323 MB / 0.529 GB, free: 4.48 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.4372, allocations: 1.219 kB / 0.529 GB, free: 4.48 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002259/0.4375, allocations: 47.06 kB / 0.529 GB, free: 4.473 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.129e-06/0.4375, allocations: 6.938 kB / 0.529 GB, free: 4.469 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.409e-05/0.4375, allocations: 1.344 kB / 0.529 GB, free: 4.469 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.987e-06/0.4375, allocations: 6.875 kB / 0.529 GB, free: 4.465 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.763e-06/0.4375, allocations: 10.53 kB / 0.529 GB, free: 4.457 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002893/0.4378, allocations: 400.4 kB / 0.5294 GB, free: 4.086 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.333e-05/0.4379, allocations: 104.7 kB / 0.5295 GB, free: 3.977 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.391e-05/0.4379, allocations: 10.38 kB / 0.5295 GB, free: 3.969 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000247/0.4382, allocations: 22.77 kB / 0.5296 GB, free: 3.961 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.896e-05/0.4383, allocations: 9.453 kB / 0.5296 GB, free: 3.957 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.479e-05/0.4383, allocations: 16.02 kB / 0.5296 GB, free: 3.949 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.0001629/0.4384, allocations: 175.8 kB / 0.5297 GB, free: 3.863 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004233/0.4389, allocations: 70.44 kB / 0.5298 GB, free: 3.848 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.000119/0.439, allocations: 98.41 kB / 0.5299 GB, free: 3.754 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002605/0.4393, allocations: 133.3 kB / 0.53 GB, free: 3.738 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.4393, allocations: 4.125 kB / 0.53 GB, free: 3.734 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 9.401e-05/0.4394, allocations: 48.28 kB / 0.5301 GB, free: 3.73 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002819/0.4397, allocations: 24.22 kB / 0.5301 GB, free: 3.715 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008195/0.4405, allocations: 376.5 kB / 0.5305 GB, free: 3.48 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003865/0.4409, allocations: 0.8066 MB / 0.5313 GB, free: 2.73 MB / 346.7 MB Notification: Performance of SimCode: time 2.5e-07/0.4409, allocations: 1.094 kB / 0.5313 GB, free: 2.73 MB / 346.7 MB Notification: Performance of Templates: time 0.005791/0.4467, allocations: 1.89 MB / 0.5331 GB, free: 1.57 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Sources.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Sources.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Sources.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Sources.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Sources.sim & ./ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Sources -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Sources.pipe 2>&1)