Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestStrings.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Utilities.TestStrings,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestStrings") translateModel(ModelicaTest.Utilities.TestStrings,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.3_cpp_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002442/0.002441, allocations: 172.4 kB / 8.146 MB, free: 2.219 MB / 5.871 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.868/1.868, allocations: 205.2 MB / 213.8 MB, free: 13.93 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001296/0.001295, allocations: 87.11 kB / 261.8 MB, free: 13.62 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2657/0.2657, allocations: 43.5 MB / 353.2 MB, free: 2.027 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 8.757e-06/9.188e-06, allocations: 4 kB / 417.7 MB, free: 40.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2986/0.2986, allocations: 58.83 MB / 476.5 MB, free: 5.09 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1777/0.4764, allocations: 86.99 MB / 0.5503 GB, free: 12.07 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002654/0.4768, allocations: 59.97 kB / 0.5504 GB, free: 12.02 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.1104/0.5872, allocations: 16.7 MB / 0.5667 GB, free: 11.3 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.793e-06/0.5873, allocations: 4 kB / 0.5667 GB, free: 11.3 MB / 410.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.00107/0.5884, allocations: 487.9 kB / 0.5671 GB, free: 10.77 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.354e-05/0.5884, allocations: 8.031 kB / 0.5672 GB, free: 10.76 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003822/0.5923, allocations: 4 kB / 0.5672 GB, free: 10.76 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001548/0.5925, allocations: 159.1 kB / 0.5673 GB, free: 10.56 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.237e-05/0.5925, allocations: 0 / 0.5673 GB, free: 10.56 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.57e-05/0.5926, allocations: 7.844 kB / 0.5673 GB, free: 10.55 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.103e-05/0.5926, allocations: 7.938 kB / 0.5673 GB, free: 10.55 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.21e-05/0.5927, allocations: 25.7 kB / 0.5673 GB, free: 10.52 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.5928, allocations: 4 kB / 0.5674 GB, free: 10.51 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.431e-05/0.5928, allocations: 0 / 0.5674 GB, free: 10.51 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.622e-06/0.5928, allocations: 0 / 0.5674 GB, free: 10.51 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002135/0.5931, allocations: 134.2 kB / 0.5675 GB, free: 10.34 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.236e-05/0.5931, allocations: 14.58 kB / 0.5675 GB, free: 10.32 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.852e-05/0.5932, allocations: 8.859 kB / 0.5675 GB, free: 10.31 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.069e-05/0.5932, allocations: 0 / 0.5675 GB, free: 10.31 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.839e-05/0.5933, allocations: 68.3 kB / 0.5676 GB, free: 10.23 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 2.935e-06/0.5933, allocations: 0 / 0.5676 GB, free: 10.23 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002492/0.5936, allocations: 33.61 kB / 0.5676 GB, free: 10.19 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.397e-05/0.5937, allocations: 81.09 kB / 0.5677 GB, free: 10.09 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.458e-05/0.5938, allocations: 85 kB / 0.5678 GB, free: 10 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.269e-05/0.5938, allocations: 25.7 kB / 0.5678 GB, free: 9.969 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.948e-05/0.5939, allocations: 150.6 kB / 0.5679 GB, free: 9.82 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.661e-05/0.594, allocations: 0 / 0.5679 GB, free: 9.82 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.238e-06/0.594, allocations: 4.031 kB / 0.5679 GB, free: 9.816 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001843/0.5942, allocations: 318.8 kB / 0.5682 GB, free: 9.496 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.335e-05/0.5942, allocations: 0 / 0.5682 GB, free: 9.496 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.866e-06/0.5943, allocations: 0 / 0.5682 GB, free: 9.496 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.854e-05/0.5943, allocations: 0 / 0.5682 GB, free: 9.496 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.5944, allocations: 0 / 0.5682 GB, free: 9.496 MB / 410.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001508/0.5945, allocations: 37.64 kB / 0.5683 GB, free: 9.453 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.479e-05/0.5946, allocations: 7.438 kB / 0.5683 GB, free: 9.449 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.383e-05/0.5946, allocations: 7.891 kB / 0.5683 GB, free: 9.441 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.958e-05/0.5946, allocations: 4.094 kB / 0.5683 GB, free: 9.438 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.324e-06/0.5947, allocations: 0 / 0.5683 GB, free: 9.438 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.5947, allocations: 0 / 0.5683 GB, free: 9.438 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.798e-05/0.5947, allocations: 0 / 0.5683 GB, free: 9.438 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.043e-05/0.5947, allocations: 4 kB / 0.5683 GB, free: 9.434 MB / 410.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 9.969e-05/0.5949, allocations: 52.81 kB / 0.5683 GB, free: 9.371 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.074e-05/0.5949, allocations: 0 / 0.5683 GB, free: 9.371 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.26e-05/0.5949, allocations: 3 kB / 0.5683 GB, free: 9.363 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.107e-06/0.595, allocations: 4 kB / 0.5683 GB, free: 9.359 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.648e-06/0.595, allocations: 11.84 kB / 0.5684 GB, free: 9.348 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.595, allocations: 3.938 kB / 0.5684 GB, free: 9.344 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001618/0.5952, allocations: 126.2 kB / 0.5685 GB, free: 9.184 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.5952, allocations: 0 / 0.5685 GB, free: 9.184 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.824e-06/0.5952, allocations: 0 / 0.5685 GB, free: 9.184 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.5953, allocations: 0 / 0.5685 GB, free: 9.184 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.618e-05/0.5953, allocations: 4 kB / 0.5685 GB, free: 9.18 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.5953, allocations: 0 / 0.5685 GB, free: 9.18 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.5953, allocations: 0 / 0.5685 GB, free: 9.18 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002006/0.5955, allocations: 72.97 kB / 0.5686 GB, free: 9.09 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.932e-05/0.5956, allocations: 77.11 kB / 0.5686 GB, free: 8.996 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.397e-05/0.5957, allocations: 0 / 0.5686 GB, free: 8.996 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.658e-05/0.5957, allocations: 4 kB / 0.5686 GB, free: 8.992 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.156e-05/0.5957, allocations: 0 / 0.5686 GB, free: 8.992 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.114e-05/0.5958, allocations: 4 kB / 0.5686 GB, free: 8.988 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.037e-05/0.5958, allocations: 75.28 kB / 0.5687 GB, free: 8.914 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001101/0.597, allocations: 139.9 kB / 0.5688 GB, free: 8.777 MB / 410.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.001884/0.5989, allocations: 479.9 kB / 0.5693 GB, free: 8.336 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001182/0.599, allocations: 33.64 kB / 0.5693 GB, free: 8.297 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.599, allocations: 0 / 0.5693 GB, free: 8.297 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.405e-05/0.5991, allocations: 29.7 kB / 0.5694 GB, free: 8.262 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00016/0.5993, allocations: 3.906 kB / 0.5694 GB, free: 8.258 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002083/0.5995, allocations: 69.78 kB / 0.5694 GB, free: 8.16 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003691/0.5999, allocations: 0.692 MB / 0.5701 GB, free: 7.441 MB / 410.7 MB Notification: Performance of SimCode: time 3.867e-06/0.5999, allocations: 4 kB / 0.5701 GB, free: 7.438 MB / 410.7 MB Notification: Performance of Templates: time 0.02834/0.6283, allocations: 3.044 MB / 0.5731 GB, free: 4.387 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestStrings.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestStrings.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestStrings.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestStrings.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestStrings.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestStrings --alarm=480 > ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestStrings.pipe 2>&1)