Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Utilities.TestFiles.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.TestFiles,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Utilities.TestFiles") translateModel(ModelicaTest.Utilities.TestFiles,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Utilities.TestFiles") [: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.004281/0.004281, allocations: 180.3 kB / 7.456 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.341/1.341, allocations: 194.2 MB / 202.1 MB, free: 8.73 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.001777/0.001777, allocations: 124.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.1855/0.1855, allocations: 39.94 MB / 331.9 MB, free: 4.906 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.658e-06/4.699e-06, allocations: 0 / 392.8 MB, free: 75.9 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1157/0.1157, allocations: 54.87 MB / 447.6 MB, free: 21 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3329/0.4486, allocations: 78.87 MB / 0.5142 GB, free: 10.1 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001748/0.4488, allocations: 59.42 kB / 0.5142 GB, free: 10.1 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.005191/0.454, allocations: 1.621 MB / 0.5158 GB, free: 10.05 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.69e-06/0.4541, allocations: 3.938 kB / 0.5158 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.0002124/0.4543, allocations: 361.7 kB / 0.5162 GB, free: 9.668 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/0.4543, allocations: 11.75 kB / 0.5162 GB, free: 9.668 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.118e-05/0.4544, allocations: 6.422 kB / 0.5162 GB, free: 9.664 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.564e-05/0.4544, allocations: 163 kB / 0.5163 GB, free: 9.465 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.363e-05/0.4545, allocations: 1.25 kB / 0.5163 GB, free: 9.465 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.143e-06/0.4545, allocations: 0 / 0.5163 GB, free: 9.465 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.277e-05/0.4545, allocations: 2.766 kB / 0.5163 GB, free: 9.465 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.63e-05/0.4546, allocations: 27.86 kB / 0.5164 GB, free: 9.434 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.4546, allocations: 4.875 kB / 0.5164 GB, free: 9.43 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.107e-06/0.4546, allocations: 2.422 kB / 0.5164 GB, free: 9.43 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.4546, allocations: 0 / 0.5164 GB, free: 9.43 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.902e-05/0.4547, allocations: 127 kB / 0.5165 GB, free: 9.27 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.043e-05/0.4547, allocations: 20.84 kB / 0.5165 GB, free: 9.246 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.305e-05/0.4547, allocations: 14.36 kB / 0.5165 GB, free: 9.234 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.083e-06/0.4548, allocations: 3.984 kB / 0.5165 GB, free: 9.23 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.237e-05/0.4548, allocations: 61.33 kB / 0.5166 GB, free: 9.156 MB / 346.7 MB Notification: Performance of pre-optimization done (n=1): time 9.32e-07/0.4548, allocations: 1.125 kB / 0.5166 GB, free: 9.156 MB / 346.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001472/0.455, allocations: 30.17 kB / 0.5166 GB, free: 9.125 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.525e-05/0.455, allocations: 79.61 kB / 0.5167 GB, free: 9.031 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.136e-05/0.455, allocations: 85 kB / 0.5168 GB, free: 8.941 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.003e-06/0.455, allocations: 26.8 kB / 0.5168 GB, free: 8.91 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.388e-05/0.455, allocations: 80.14 kB / 0.5169 GB, free: 8.828 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.933e-05/0.4551, allocations: 8.812 kB / 0.5169 GB, free: 8.82 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.214e-06/0.4551, allocations: 4.031 kB / 0.5169 GB, free: 8.816 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.573e-05/0.4551, allocations: 321.1 kB / 0.5172 GB, free: 8.5 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.002e-06/0.4552, allocations: 0 / 0.5172 GB, free: 8.5 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.598e-06/0.4552, allocations: 1.125 kB / 0.5172 GB, free: 8.5 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.763e-05/0.4552, allocations: 1.062 kB / 0.5172 GB, free: 8.5 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.4552, allocations: 4.938 kB / 0.5172 GB, free: 8.496 MB / 346.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.544e-05/0.4553, allocations: 31.61 kB / 0.5172 GB, free: 8.465 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.247e-05/0.4553, allocations: 5.031 kB / 0.5172 GB, free: 8.465 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.4553, allocations: 96 / 0.5172 GB, free: 8.465 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.03e-05/0.4553, allocations: 5.125 kB / 0.5172 GB, free: 8.461 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.434e-06/0.4553, allocations: 5.828 kB / 0.5172 GB, free: 8.457 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.4553, allocations: 1.062 kB / 0.5172 GB, free: 8.457 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.12e-05/0.4553, allocations: 0 / 0.5172 GB, free: 8.457 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.334e-06/0.4554, allocations: 0.9688 kB / 0.5172 GB, free: 8.457 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 5.145e-05/0.4554, allocations: 132.6 kB / 0.5174 GB, free: 8.316 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.955e-06/0.4554, allocations: 2.781 kB / 0.5174 GB, free: 8.316 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.08e-05/0.4554, allocations: 6.953 kB / 0.5174 GB, free: 8.309 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.02e-07/0.4554, allocations: 0 / 0.5174 GB, free: 8.309 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.4555, allocations: 5.031 kB / 0.5174 GB, free: 8.305 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.4555, allocations: 0 / 0.5174 GB, free: 8.305 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.812e-05/0.4555, allocations: 129.1 kB / 0.5175 GB, free: 8.145 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.4555, allocations: 1.031 kB / 0.5175 GB, free: 8.145 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.332e-06/0.4555, allocations: 1.688 kB / 0.5175 GB, free: 8.145 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.012e-06/0.4555, allocations: 0 / 0.5175 GB, free: 8.145 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.953e-06/0.4556, allocations: 4.344 kB / 0.5175 GB, free: 8.145 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.4556, allocations: 1.031 kB / 0.5175 GB, free: 8.145 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.4556, allocations: 0 / 0.5175 GB, free: 8.145 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 6.657e-05/0.4556, allocations: 62.77 kB / 0.5176 GB, free: 8.074 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.888e-05/0.4557, allocations: 84.52 kB / 0.5177 GB, free: 7.977 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.327e-05/0.4557, allocations: 2.641 kB / 0.5177 GB, free: 7.977 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.436e-06/0.4557, allocations: 1.031 kB / 0.5177 GB, free: 7.977 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.645e-05/0.4557, allocations: 1 kB / 0.5177 GB, free: 7.977 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.825e-06/0.4557, allocations: 1.031 kB / 0.5177 GB, free: 7.977 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.303e-05/0.4557, allocations: 75.28 kB / 0.5177 GB, free: 7.902 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002488/0.456, allocations: 50.22 kB / 0.5178 GB, free: 7.887 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.0003887/0.4564, allocations: 216 kB / 0.518 GB, free: 7.766 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 6.053e-05/0.4565, allocations: 37.48 kB / 0.518 GB, free: 7.727 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.4565, allocations: 1.25 kB / 0.518 GB, free: 7.727 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.292e-05/0.4565, allocations: 28.36 kB / 0.5181 GB, free: 7.695 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.987e-05/0.4566, allocations: 1.094 kB / 0.5181 GB, free: 7.695 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001146/0.4567, allocations: 43.84 kB / 0.5181 GB, free: 7.637 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001212/0.4568, allocations: 0.6829 MB / 0.5188 GB, free: 6.934 MB / 346.7 MB Notification: Performance of SimCode: time 2.2e-07/0.4568, allocations: 3.938 kB / 0.5188 GB, free: 6.93 MB / 346.7 MB Notification: Performance of Templates: time 0.00293/0.4598, allocations: 0.8588 MB / 0.5196 GB, free: 6.805 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Utilities.TestFiles.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Utilities.TestFiles.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Utilities.TestFiles.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Utilities.TestFiles.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Utilities.TestFiles.sim & ./ModelicaTest_3.2.2_ModelicaTest.Utilities.TestFiles -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Utilities.TestFiles.pipe 2>&1)