Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Utilities.TestInternal.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.TestInternal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Utilities.TestInternal") translateModel(ModelicaTest.Utilities.TestInternal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Utilities.TestInternal") [: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.002725/0.002725, allocations: 184.7 kB / 7.459 MB, free: 2.5 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.317/1.317, allocations: 194.2 MB / 202.1 MB, free: 8.727 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.001843/0.001843, allocations: 117.6 kB / 247.1 MB, free: 6.312 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.1942/0.1942, allocations: 39.95 MB / 331.9 MB, free: 4.891 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 7.244e-06/7.284e-06, allocations: 4 kB / 392.8 MB, free: 75.88 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1148/0.1148, allocations: 54.87 MB / 447.6 MB, free: 20.99 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3267/0.4415, allocations: 78.96 MB / 0.5143 GB, free: 10.09 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001861/0.4417, allocations: 63.02 kB / 0.5143 GB, free: 10.09 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.004163/0.4459, allocations: 1.343 MB / 0.5156 GB, free: 10.05 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.623e-06/0.4459, allocations: 1.5 kB / 0.5156 GB, free: 10.05 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.0002507/0.4462, allocations: 350.5 kB / 0.516 GB, free: 9.668 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.082e-05/0.4463, allocations: 8.188 kB / 0.516 GB, free: 9.668 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.412e-05/0.4463, allocations: 4.938 kB / 0.516 GB, free: 9.664 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.32e-05/0.4464, allocations: 160 kB / 0.5161 GB, free: 9.469 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.335e-05/0.4464, allocations: 2.125 kB / 0.5161 GB, free: 9.469 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.939e-06/0.4464, allocations: 1.125 kB / 0.5161 GB, free: 9.469 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.513e-05/0.4465, allocations: 1 kB / 0.5161 GB, free: 9.469 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.237e-05/0.4465, allocations: 36.64 kB / 0.5162 GB, free: 9.434 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.315e-06/0.4465, allocations: 0.9688 kB / 0.5162 GB, free: 9.434 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.578e-06/0.4465, allocations: 0 / 0.5162 GB, free: 9.434 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.4466, allocations: 1.031 kB / 0.5162 GB, free: 9.434 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.971e-05/0.4467, allocations: 136.1 kB / 0.5163 GB, free: 9.27 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.482e-05/0.4467, allocations: 16.95 kB / 0.5163 GB, free: 9.246 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.691e-05/0.4467, allocations: 10.73 kB / 0.5163 GB, free: 9.238 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.863e-06/0.4467, allocations: 0 / 0.5163 GB, free: 9.238 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.525e-05/0.4468, allocations: 57.3 kB / 0.5164 GB, free: 9.168 MB / 346.7 MB Notification: Performance of pre-optimization done (n=1): time 9.62e-07/0.4468, allocations: 1.25 kB / 0.5164 GB, free: 9.168 MB / 346.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001733/0.447, allocations: 39.23 kB / 0.5164 GB, free: 9.129 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.864e-05/0.447, allocations: 78.33 kB / 0.5165 GB, free: 9.035 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.107e-05/0.447, allocations: 85 kB / 0.5166 GB, free: 8.945 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.056e-06/0.447, allocations: 25.7 kB / 0.5166 GB, free: 8.914 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.51e-05/0.4471, allocations: 80.14 kB / 0.5167 GB, free: 8.832 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.748e-05/0.4471, allocations: 6.094 kB / 0.5167 GB, free: 8.828 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.675e-06/0.4471, allocations: 0 / 0.5167 GB, free: 8.828 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.4e-05/0.4472, allocations: 319.4 kB / 0.517 GB, free: 8.512 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.077e-06/0.4472, allocations: 5.031 kB / 0.517 GB, free: 8.508 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.819e-06/0.4472, allocations: 0.875 kB / 0.517 GB, free: 8.508 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.78e-05/0.4472, allocations: 2.594 kB / 0.517 GB, free: 8.508 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.4472, allocations: 0 / 0.517 GB, free: 8.508 MB / 346.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.65e-05/0.4473, allocations: 32.59 kB / 0.517 GB, free: 8.477 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.4473, allocations: 4.375 kB / 0.517 GB, free: 8.477 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.4473, allocations: 0 / 0.517 GB, free: 8.477 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.4473, allocations: 9 kB / 0.517 GB, free: 8.469 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.814e-06/0.4473, allocations: 1.266 kB / 0.517 GB, free: 8.469 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.269e-06/0.4473, allocations: 1.031 kB / 0.517 GB, free: 8.469 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.105e-05/0.4474, allocations: 4.094 kB / 0.5171 GB, free: 8.465 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.324e-06/0.4474, allocations: 1 kB / 0.5171 GB, free: 8.465 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.321e-05/0.4474, allocations: 137.3 kB / 0.5172 GB, free: 8.32 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.492e-06/0.4475, allocations: 1 kB / 0.5172 GB, free: 8.32 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.296e-05/0.4475, allocations: 8.078 kB / 0.5172 GB, free: 8.312 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.22e-07/0.4475, allocations: 0 / 0.5172 GB, free: 8.312 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.4475, allocations: 0.9062 kB / 0.5172 GB, free: 8.312 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.219e-06/0.4475, allocations: 5.438 kB / 0.5172 GB, free: 8.309 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.452e-05/0.4476, allocations: 124.5 kB / 0.5173 GB, free: 8.152 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.4476, allocations: 8.875 kB / 0.5173 GB, free: 8.145 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.61e-07/0.4476, allocations: 0 / 0.5173 GB, free: 8.145 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.4476, allocations: 0.8438 kB / 0.5173 GB, free: 8.145 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.746e-06/0.4476, allocations: 3.688 kB / 0.5173 GB, free: 8.145 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.4476, allocations: 1.266 kB / 0.5173 GB, free: 8.145 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.4476, allocations: 1 kB / 0.5173 GB, free: 8.145 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 6.831e-05/0.4477, allocations: 56.19 kB / 0.5174 GB, free: 8.082 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.891e-05/0.4477, allocations: 86.78 kB / 0.5175 GB, free: 7.98 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.42e-05/0.4477, allocations: 1.062 kB / 0.5175 GB, free: 7.98 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.866e-06/0.4477, allocations: 1.031 kB / 0.5175 GB, free: 7.98 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.694e-05/0.4478, allocations: 0.9062 kB / 0.5175 GB, free: 7.98 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.198e-06/0.4478, allocations: 2.75 kB / 0.5175 GB, free: 7.98 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.535e-05/0.4478, allocations: 75.28 kB / 0.5175 GB, free: 7.906 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002388/0.448, allocations: 31.88 kB / 0.5176 GB, free: 7.895 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.0004989/0.4485, allocations: 252 kB / 0.5178 GB, free: 7.738 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 7.264e-05/0.4486, allocations: 32.45 kB / 0.5178 GB, free: 7.707 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.4486, allocations: 0 / 0.5178 GB, free: 7.707 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.576e-05/0.4487, allocations: 29.14 kB / 0.5179 GB, free: 7.676 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.309e-05/0.4488, allocations: 4.844 kB / 0.5179 GB, free: 7.676 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001378/0.4489, allocations: 48.5 kB / 0.5179 GB, free: 7.609 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001432/0.449, allocations: 0.6826 MB / 0.5186 GB, free: 6.906 MB / 346.7 MB Notification: Performance of SimCode: time 2.6e-07/0.4491, allocations: 5.094 kB / 0.5186 GB, free: 6.902 MB / 346.7 MB Notification: Performance of Templates: time 0.003055/0.4521, allocations: 0.7702 MB / 0.5194 GB, free: 6.777 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Utilities.TestInternal.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Utilities.TestInternal.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Utilities.TestInternal.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Utilities.TestInternal.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Utilities.TestInternal.sim & ./ModelicaTest_3.2.2_ModelicaTest.Utilities.TestInternal -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Utilities.TestInternal.pipe 2>&1)