Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Utilities.TestStrings.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.Utilities.TestStrings,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Utilities.TestStrings") translateModel(ModelicaTest.Utilities.TestStrings,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Utilities.TestStrings") [: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.002761/0.002761, allocations: 185 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.361/1.361, allocations: 194.2 MB / 202.1 MB, free: 8.652 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.001846/0.001846, allocations: 114.5 kB / 247.1 MB, free: 6.359 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.2276/0.2276, allocations: 39.94 MB / 331.9 MB, free: 4.879 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 8.386e-06/8.667e-06, allocations: 0 / 392.8 MB, free: 75.9 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1217/0.1217, allocations: 54.88 MB / 447.6 MB, free: 20.99 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3786/0.5004, allocations: 81.86 MB / 0.5171 GB, free: 10.32 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003359/0.5008, allocations: 60.08 kB / 0.5172 GB, free: 10.32 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.04244/0.5433, allocations: 16.52 MB / 0.5333 GB, free: 3.531 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.203e-06/0.5433, allocations: 4 kB / 0.5333 GB, free: 3.527 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0006798/0.544, allocations: 485.1 kB / 0.5337 GB, free: 3.02 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.886e-05/0.5441, allocations: 8.031 kB / 0.5338 GB, free: 3.012 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.853e-05/0.5441, allocations: 0 / 0.5338 GB, free: 3.012 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.472e-05/0.5442, allocations: 159.9 kB / 0.5339 GB, free: 2.816 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.496e-05/0.5442, allocations: 4 kB / 0.5339 GB, free: 2.812 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.864e-06/0.5442, allocations: 0 / 0.5339 GB, free: 2.812 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.752e-05/0.5443, allocations: 0 / 0.5339 GB, free: 2.812 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.373e-05/0.5444, allocations: 37.59 kB / 0.5339 GB, free: 2.77 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.5444, allocations: 7.938 kB / 0.534 GB, free: 2.762 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.105e-06/0.5444, allocations: 0 / 0.534 GB, free: 2.762 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/0.5444, allocations: 0 / 0.534 GB, free: 2.762 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001021/0.5445, allocations: 122.2 kB / 0.5341 GB, free: 2.605 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 2.999e-05/0.5445, allocations: 22.39 kB / 0.5341 GB, free: 2.578 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.442e-05/0.5446, allocations: 8.953 kB / 0.5341 GB, free: 2.566 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.626e-06/0.5446, allocations: 0 / 0.5341 GB, free: 2.566 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.561e-05/0.5446, allocations: 60.27 kB / 0.5342 GB, free: 2.492 MB / 346.7 MB Notification: Performance of pre-optimization done (n=1): time 9.01e-07/0.5446, allocations: 0 / 0.5342 GB, free: 2.492 MB / 346.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001861/0.5448, allocations: 33.69 kB / 0.5342 GB, free: 2.453 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.55e-05/0.5449, allocations: 84.95 kB / 0.5343 GB, free: 2.352 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.382e-05/0.5449, allocations: 85 kB / 0.5344 GB, free: 2.262 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.835e-06/0.5449, allocations: 25.7 kB / 0.5344 GB, free: 2.23 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.781e-05/0.5449, allocations: 84.14 kB / 0.5345 GB, free: 2.145 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.085e-05/0.545, allocations: 3.938 kB / 0.5345 GB, free: 2.141 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.795e-06/0.545, allocations: 0 / 0.5345 GB, free: 2.141 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.93e-05/0.545, allocations: 318.7 kB / 0.5348 GB, free: 1.824 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.514e-06/0.545, allocations: 0 / 0.5348 GB, free: 1.824 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.809e-06/0.5451, allocations: 0 / 0.5348 GB, free: 1.824 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.727e-05/0.5451, allocations: 4 kB / 0.5348 GB, free: 1.82 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.502e-06/0.5451, allocations: 0 / 0.5348 GB, free: 1.82 MB / 346.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.907e-05/0.5452, allocations: 33.69 kB / 0.5348 GB, free: 1.781 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/0.5452, allocations: 4 kB / 0.5348 GB, free: 1.777 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.5452, allocations: 0 / 0.5348 GB, free: 1.777 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.5452, allocations: 4.094 kB / 0.5348 GB, free: 1.773 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.294e-06/0.5452, allocations: 7.906 kB / 0.5348 GB, free: 1.766 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.5452, allocations: 0 / 0.5348 GB, free: 1.766 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.186e-05/0.5453, allocations: 0 / 0.5348 GB, free: 1.766 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.055e-06/0.5453, allocations: 0 / 0.5348 GB, free: 1.766 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * 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 6.216e-05/0.5453, allocations: 126.7 kB / 0.5349 GB, free: 1.629 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.436e-06/0.5454, allocations: 7.938 kB / 0.5349 GB, free: 1.621 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.502e-05/0.5454, allocations: 6.953 kB / 0.535 GB, free: 1.613 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.5454, allocations: 3.984 kB / 0.535 GB, free: 1.609 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.5454, allocations: 0 / 0.535 GB, free: 1.609 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.82e-06/0.5454, allocations: 7.906 kB / 0.535 GB, free: 1.602 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.233e-05/0.5455, allocations: 122.2 kB / 0.5351 GB, free: 1.445 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.5455, allocations: 4 kB / 0.5351 GB, free: 1.441 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.81e-07/0.5455, allocations: 0 / 0.5351 GB, free: 1.441 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.5455, allocations: 0 / 0.5351 GB, free: 1.441 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.714e-06/0.5455, allocations: 3.625 kB / 0.5351 GB, free: 1.441 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.11e-07/0.5455, allocations: 0 / 0.5351 GB, free: 1.441 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.5455, allocations: 0 / 0.5351 GB, free: 1.441 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.346e-05/0.5456, allocations: 65.03 kB / 0.5352 GB, free: 1.359 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.112e-05/0.5456, allocations: 85.09 kB / 0.5352 GB, free: 1.258 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.703e-05/0.5456, allocations: 0 / 0.5352 GB, free: 1.258 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.768e-06/0.5457, allocations: 4 kB / 0.5352 GB, free: 1.254 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.728e-05/0.5457, allocations: 7.25 kB / 0.5352 GB, free: 1.25 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.555e-06/0.5457, allocations: 0 / 0.5352 GB, free: 1.25 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.626e-05/0.5457, allocations: 79.27 kB / 0.5353 GB, free: 1.172 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004589/0.5462, allocations: 139 kB / 0.5355 GB, free: 1.047 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: 1 (result) * Number of discrete states: 1 (result) * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.0009008/0.5471, allocations: 465.4 kB / 0.5359 GB, free: 0.6484 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 7.519e-05/0.5472, allocations: 33.64 kB / 0.5359 GB, free: 0.6133 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.5472, allocations: 3.938 kB / 0.5359 GB, free: 0.6094 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.515e-05/0.5472, allocations: 29.7 kB / 0.536 GB, free: 0.5742 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.961e-05/0.5473, allocations: 3.906 kB / 0.536 GB, free: 0.5703 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001415/0.5474, allocations: 47.88 kB / 0.536 GB, free: 0.5 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002093/0.5477, allocations: 0.6841 MB / 0.5367 GB, free: 15.79 MB / 362.7 MB Notification: Performance of SimCode: time 2.61e-07/0.5477, allocations: 0 / 0.5367 GB, free: 15.79 MB / 362.7 MB Notification: Performance of Templates: time 0.006553/0.5542, allocations: 2.658 MB / 0.5393 GB, free: 13.15 MB / 362.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Utilities.TestStrings.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Utilities.TestStrings.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Utilities.TestStrings.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Utilities.TestStrings.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Utilities.TestStrings.sim & ./ModelicaTest_3.2.2_ModelicaTest.Utilities.TestStrings -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Utilities.TestStrings.pipe 2>&1)