Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Blocks.RootMeanSquare.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.Blocks.RootMeanSquare,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Blocks.RootMeanSquare") translateModel(ModelicaTest.Blocks.RootMeanSquare,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Blocks.RootMeanSquare") [: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.1+maint.om/package.mo): time 0.004708/0.004708, allocations: 181.2 kB / 7.452 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.514/1.514, allocations: 170.6 MB / 178.4 MB, free: 15.43 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.00171/0.00171, allocations: 119.8 kB / 217.7 MB, free: 8.203 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.1672/0.1672, allocations: 37.98 MB / 294.8 MB, free: 9.598 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 6.101e-06/6.261e-06, allocations: 1.219 kB / 349.5 MB, free: 37.08 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09322/0.09324, allocations: 48.7 MB / 398.2 MB, free: 5.652 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3568/0.4501, allocations: 73.71 MB / 471.9 MB, free: 13.65 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001873/0.4503, allocations: 61.03 kB / 472 MB, free: 13.65 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.004331/0.4546, allocations: 1.332 MB / 473.3 MB, free: 13.56 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.392e-05/0.4547, allocations: 3.844 kB / 473.3 MB, free: 13.56 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0003903/0.4551, allocations: 381.9 kB / 473.7 MB, free: 13.19 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/0.4551, allocations: 11.56 kB / 473.7 MB, free: 13.19 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.401e-05/0.4552, allocations: 7.656 kB / 473.7 MB, free: 13.19 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002181/0.4554, allocations: 213.5 kB / 473.9 MB, free: 12.98 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/0.4554, allocations: 3.781 kB / 473.9 MB, free: 12.98 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.747e-05/0.4554, allocations: 7.75 kB / 473.9 MB, free: 12.98 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001046/0.4556, allocations: 42.39 kB / 474 MB, free: 12.97 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001176/0.4557, allocations: 74.27 kB / 474 MB, free: 12.94 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.4557, allocations: 0.875 kB / 474 MB, free: 12.94 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.455e-05/0.4557, allocations: 7.188 kB / 474 MB, free: 12.93 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.815e-06/0.4557, allocations: 0 / 474 MB, free: 12.93 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003729/0.4561, allocations: 322 kB / 474.3 MB, free: 12.69 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001/0.4562, allocations: 59.67 kB / 474.4 MB, free: 12.66 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.149e-05/0.4563, allocations: 25.17 kB / 474.4 MB, free: 12.65 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.617e-05/0.4563, allocations: 0 / 474.4 MB, free: 12.65 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001025/0.4564, allocations: 77.83 kB / 474.5 MB, free: 12.6 MB / 330.7 MB Notification: Performance of pre-optimization done (n=9): time 1.133e-06/0.4564, allocations: 3.938 kB / 474.5 MB, free: 12.59 MB / 330.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002006/0.4566, allocations: 80.88 kB / 474.6 MB, free: 12.55 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.545e-05/0.4567, allocations: 59.28 kB / 474.6 MB, free: 12.49 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.828e-05/0.4568, allocations: 129.6 kB / 474.8 MB, free: 12.39 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.616e-05/0.4568, allocations: 25.7 kB / 474.8 MB, free: 12.36 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.264e-05/0.4568, allocations: 95.62 kB / 474.9 MB, free: 12.27 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.61e-05/0.4568, allocations: 26.75 kB / 474.9 MB, free: 12.25 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.102e-06/0.4569, allocations: 0 / 474.9 MB, free: 12.25 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.519e-05/0.4569, allocations: 321.8 kB / 475.2 MB, free: 11.94 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.741e-05/0.457, allocations: 18.38 kB / 475.3 MB, free: 11.94 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.98e-05/0.457, allocations: 79.84 kB / 475.3 MB, free: 11.86 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.364e-05/0.4571, allocations: 29.7 kB / 475.4 MB, free: 11.86 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.4571, allocations: 0 / 475.4 MB, free: 11.86 MB / 330.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001864/0.4573, allocations: 116 kB / 475.5 MB, free: 11.81 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.231e-05/0.4573, allocations: 3.875 kB / 475.5 MB, free: 11.81 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.4573, allocations: 3.812 kB / 475.5 MB, free: 11.81 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.4574, allocations: 3.797 kB / 475.5 MB, free: 11.81 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001231/0.4575, allocations: 23.39 kB / 475.5 MB, free: 11.81 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.428e-06/0.4575, allocations: 16.75 kB / 475.5 MB, free: 11.8 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.728e-05/0.4576, allocations: 15.62 kB / 475.5 MB, free: 11.79 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.177e-06/0.4576, allocations: 3.875 kB / 475.5 MB, free: 11.79 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.mean1.y,mean1.y,$whenCondition2,$whenCondition1,$PRE.rootMeanSquare.mean.y,rootMeanSquare.mean.y) * 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 5.62e-05/0.4577, allocations: 112.3 kB / 475.6 MB, free: 11.68 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.696e-05/0.4577, allocations: 7.781 kB / 475.7 MB, free: 11.68 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.003e-05/0.4577, allocations: 15.55 kB / 475.7 MB, free: 11.68 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.4577, allocations: 4 kB / 475.7 MB, free: 11.67 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.4578, allocations: 0 / 475.7 MB, free: 11.67 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.4578, allocations: 0 / 475.7 MB, free: 11.67 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.67e-05/0.4579, allocations: 178.9 kB / 475.9 MB, free: 11.51 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.4579, allocations: 0 / 475.9 MB, free: 11.51 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001029/0.458, allocations: 11.69 kB / 475.9 MB, free: 11.51 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.367e-06/0.458, allocations: 3.875 kB / 475.9 MB, free: 11.51 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.38e-05/0.458, allocations: 3.797 kB / 475.9 MB, free: 11.51 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.458, allocations: 0.8125 kB / 475.9 MB, free: 11.51 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.458, allocations: 0 / 475.9 MB, free: 11.51 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002108/0.4582, allocations: 152 kB / 476 MB, free: 11.43 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.65e-05/0.4583, allocations: 91.69 kB / 476.1 MB, free: 11.33 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.574e-05/0.4583, allocations: 0 / 476.1 MB, free: 11.33 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.122e-05/0.4584, allocations: 7.047 kB / 476.1 MB, free: 11.33 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.844e-05/0.4585, allocations: 14.02 kB / 476.1 MB, free: 11.32 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.077e-05/0.4585, allocations: 3.875 kB / 476.1 MB, free: 11.32 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.644e-05/0.4585, allocations: 106 kB / 476.2 MB, free: 11.25 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002185/0.4587, allocations: 23.28 kB / 476.3 MB, free: 11.24 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (mean1.x,rootMeanSquare.mean.x) * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,mean1.y,rootMeanSquare.mean.y) * Number of discrete states: 2 (mean1.x,rootMeanSquare.mean.x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001115/0.4589, allocations: 101.6 kB / 476.4 MB, free: 11.15 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001214/0.459, allocations: 60.59 kB / 476.4 MB, free: 11.14 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.459, allocations: 0 / 476.4 MB, free: 11.14 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 4.974e-05/0.4591, allocations: 22.86 kB / 476.4 MB, free: 11.14 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001499/0.4592, allocations: 16.53 kB / 476.5 MB, free: 11.14 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003749/0.4596, allocations: 158.7 kB / 476.6 MB, free: 11.04 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000338/0.4599, allocations: 0.7228 MB / 477.3 MB, free: 26.33 MB / 346.7 MB Notification: Performance of SimCode: time 2.2e-07/0.4599, allocations: 0 / 477.3 MB, free: 26.33 MB / 346.7 MB Notification: Performance of Templates: time 0.003067/0.463, allocations: 0.9293 MB / 478.3 MB, free: 26.25 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Blocks.RootMeanSquare.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Blocks.RootMeanSquare.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Blocks.RootMeanSquare.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Blocks.RootMeanSquare.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Blocks.RootMeanSquare.sim & ./ModelicaTest_3.2.1_ModelicaTest.Blocks.RootMeanSquare -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Blocks.RootMeanSquare.pipe 2>&1)