Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Math.TestNonlinear.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Math.TestNonlinear,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_TestNonlinear",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestNonlinear,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_TestNonlinear",fmuType="me",version="2.0",platforms={"static"}) [: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.3+maint.om/package.mo): time 0.001265/0.001265, allocations: 190.3 kB / 7.8 MB, free: 2.449 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.544/1.544, allocations: 205.2 MB / 213.4 MB, free: 13.92 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008972/0.0008973, allocations: 95.84 kB / 261.4 MB, free: 13.63 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1954/0.1954, allocations: 43.49 MB / 352.8 MB, free: 2.043 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2241/0.4195, allocations: 64.96 MB / 417.8 MB, free: 40.48 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.318/0.7375, allocations: 58.84 MB / 476.6 MB, free: 5.188 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1367/0.8743, allocations: 87.5 MB / 0.5509 GB, free: 11.44 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002194/0.8746, allocations: 63.97 kB / 0.551 GB, free: 11.38 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.04183/0.9165, allocations: 12.96 MB / 0.5636 GB, free: 14.36 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.76e-05/0.9165, allocations: 12 kB / 0.5636 GB, free: 14.35 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.469e-05/0.9166, allocations: 79.19 kB / 0.5637 GB, free: 14.27 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001424/0.9168, allocations: 234.4 kB / 0.5639 GB, free: 14 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.921e-05/0.9168, allocations: 154.6 kB / 0.5641 GB, free: 13.85 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.509e-05/0.9169, allocations: 150.6 kB / 0.5642 GB, free: 13.7 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.947e-05/0.917, allocations: 158.5 kB / 0.5644 GB, free: 13.54 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.927e-05/0.9171, allocations: 101 kB / 0.5645 GB, free: 13.44 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.059e-05/0.9171, allocations: 79.27 kB / 0.5646 GB, free: 13.36 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.337e-05/0.9172, allocations: 154.6 kB / 0.5647 GB, free: 13.21 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.832e-05/0.9172, allocations: 154.6 kB / 0.5649 GB, free: 13.05 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003671/0.9176, allocations: 422.4 kB / 0.5653 GB, free: 12.61 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.018e-05/0.9177, allocations: 173.1 kB / 0.5654 GB, free: 12.43 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.711e-05/0.9178, allocations: 84.14 kB / 0.5655 GB, free: 12.34 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.923e-05/0.9178, allocations: 79.22 kB / 0.5656 GB, free: 12.26 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.484e-05/0.9179, allocations: 135.5 kB / 0.5657 GB, free: 12.11 MB / 410.7 MB Notification: Performance of pre-optimization done (n=0): time 1.483e-06/0.9179, allocations: 0 / 0.5657 GB, free: 12.11 MB / 410.7 MB Notification: Performance of matching and sorting (n=0): time 8.49e-05/0.918, allocations: 29.7 kB / 0.5657 GB, free: 12.08 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.801e-05/0.918, allocations: 81.09 kB / 0.5658 GB, free: 11.98 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.914e-05/0.9181, allocations: 85 kB / 0.5659 GB, free: 11.89 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.777e-05/0.9181, allocations: 25.7 kB / 0.5659 GB, free: 11.86 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.982e-05/0.9181, allocations: 84.14 kB / 0.566 GB, free: 11.77 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.212e-06/0.9182, allocations: 0 / 0.566 GB, free: 11.77 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.7e-07/0.9182, allocations: 0 / 0.566 GB, free: 11.77 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001218/0.9183, allocations: 314.8 kB / 0.5663 GB, free: 11.46 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.799e-06/0.9183, allocations: 3.938 kB / 0.5663 GB, free: 11.45 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.209e-05/0.9183, allocations: 0 / 0.5663 GB, free: 11.45 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.467e-05/0.9184, allocations: 75.28 kB / 0.5664 GB, free: 11.38 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.866e-05/0.9184, allocations: 75.28 kB / 0.5664 GB, free: 11.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.691e-05/0.9185, allocations: 37.64 kB / 0.5665 GB, free: 11.26 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.9185, allocations: 4 kB / 0.5665 GB, free: 11.26 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.969e-05/0.9185, allocations: 75.28 kB / 0.5666 GB, free: 11.18 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.52e-05/0.9186, allocations: 162.5 kB / 0.5667 GB, free: 11.02 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.471e-05/0.9187, allocations: 83.27 kB / 0.5668 GB, free: 10.94 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.707e-05/0.9187, allocations: 150.6 kB / 0.5669 GB, free: 10.79 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.416e-05/0.9188, allocations: 79.22 kB / 0.567 GB, free: 10.71 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.366e-05/0.9189, allocations: 85.23 kB / 0.5671 GB, free: 10.63 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * 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 0.0001433/0.919, allocations: 253 kB / 0.5673 GB, free: 10.38 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.278e-05/0.9191, allocations: 108.9 kB / 0.5674 GB, free: 10.27 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.499e-05/0.9192, allocations: 115.9 kB / 0.5675 GB, free: 10.14 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.785e-05/0.9193, allocations: 180.2 kB / 0.5677 GB, free: 9.961 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.595e-05/0.9193, allocations: 180.3 kB / 0.5679 GB, free: 9.777 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.299e-05/0.9194, allocations: 184.2 kB / 0.5681 GB, free: 9.59 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002264/0.9197, allocations: 381.8 kB / 0.5684 GB, free: 9.172 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.655e-05/0.9197, allocations: 101 kB / 0.5685 GB, free: 9.066 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.687e-05/0.9198, allocations: 104.9 kB / 0.5686 GB, free: 8.957 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.152e-05/0.9198, allocations: 180.3 kB / 0.5688 GB, free: 8.773 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.031e-05/0.9199, allocations: 184.3 kB / 0.569 GB, free: 8.586 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.322e-05/0.92, allocations: 180.2 kB / 0.5691 GB, free: 8.402 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.814e-05/0.9201, allocations: 184.2 kB / 0.5693 GB, free: 8.215 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001691/0.9203, allocations: 316 kB / 0.5696 GB, free: 7.883 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003027/0.9206, allocations: 0.6721 MB / 0.5703 GB, free: 7.184 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.151e-05/0.9207, allocations: 185.9 kB / 0.5705 GB, free: 6.977 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.483e-05/0.9208, allocations: 180.3 kB / 0.5706 GB, free: 6.793 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.203e-05/0.9209, allocations: 105 kB / 0.5707 GB, free: 6.684 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.31e-05/0.9209, allocations: 192.2 kB / 0.5709 GB, free: 6.488 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.332e-05/0.921, allocations: 101 kB / 0.571 GB, free: 6.383 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.639e-05/0.921, allocations: 75.28 kB / 0.5711 GB, free: 6.309 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001589/0.9226, allocations: 179.7 kB / 0.5712 GB, free: 6.133 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.00143/0.9241, allocations: 453.5 kB / 0.5717 GB, free: 5.684 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 5.836e-05/0.9241, allocations: 0 / 0.5717 GB, free: 5.684 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.9241, allocations: 0 / 0.5717 GB, free: 5.684 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.22e-06/0.9242, allocations: 4 kB / 0.5717 GB, free: 5.68 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003616/0.9245, allocations: 0.5223 MB / 0.5722 GB, free: 5.152 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001873/0.9247, allocations: 127.3 kB / 0.5723 GB, free: 5.004 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003437/0.9251, allocations: 0.6802 MB / 0.573 GB, free: 4.297 MB / 410.7 MB Notification: Performance of SimCode: time 4.81e-07/0.9251, allocations: 0 / 0.573 GB, free: 4.297 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.TestNonlinear.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.TestNonlinear.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.TestNonlinear.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestNonlinear.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Math_TestNonlinear_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Math_TestNonlinear.fmu > ModelicaTest_3.2.3_ModelicaTest.Math.TestNonlinear.pipe 2>&1)