Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3,fileNamePrefix="Modelica_4_0_0_Modelica_Math_Nonlinear_Examples_QuadratureLobatto3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3,fileNamePrefix="Modelica_4_0_0_Modelica_Math_Nonlinear_Examples_QuadratureLobatto3",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 4.0.0+maint.om/package.mo): time 0.001142/0.001142, allocations: 184.5 kB / 8.138 MB, free: 2.223 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.21/1.21, allocations: 221.4 MB / 229.9 MB, free: 3.012 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000991/0.000991, allocations: 95.88 kB / 280.8 MB, free: 1.23 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.09464/0.09566, allocations: 55.81 MB / 336.6 MB, free: 9.398 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1858/0.2814, allocations: 50.38 MB / 387 MB, free: 38.09 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.07822/0.3597, allocations: 75.31 MB / 462.3 MB, free: 11.57 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001862/0.3599, allocations: 70.05 kB / 462.4 MB, free: 11.5 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.01136/0.3713, allocations: 3.64 MB / 466 MB, free: 7.84 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.298e-05/0.3714, allocations: 8 kB / 466 MB, free: 7.832 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.988e-05/0.3714, allocations: 8.469 kB / 466 MB, free: 7.824 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000127/0.3715, allocations: 163 kB / 466.2 MB, free: 7.625 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.658e-06/0.3715, allocations: 0 / 466.2 MB, free: 7.625 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.497e-05/0.3716, allocations: 8 kB / 466.2 MB, free: 7.617 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.007e-05/0.3716, allocations: 7.984 kB / 466.2 MB, free: 7.609 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.55e-05/0.3717, allocations: 37.64 kB / 466.2 MB, free: 7.566 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.3717, allocations: 6.844 kB / 466.2 MB, free: 7.562 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.514e-06/0.3717, allocations: 0 / 466.2 MB, free: 7.562 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.637e-06/0.3717, allocations: 0 / 466.2 MB, free: 7.562 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001364/0.3719, allocations: 134.2 kB / 466.4 MB, free: 7.395 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.314e-05/0.3719, allocations: 25.75 kB / 466.4 MB, free: 7.363 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.371e-05/0.372, allocations: 16.86 kB / 466.4 MB, free: 7.344 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.377e-06/0.372, allocations: 2.438 kB / 466.4 MB, free: 7.344 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.903e-05/0.372, allocations: 30.56 kB / 466.5 MB, free: 7.305 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.372, allocations: 0 / 466.5 MB, free: 7.305 MB / 346.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001154/0.3721, allocations: 45.62 kB / 466.5 MB, free: 7.254 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.476e-05/0.3722, allocations: 51.41 kB / 466.5 MB, free: 7.191 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.503e-05/0.3722, allocations: 97.19 kB / 466.6 MB, free: 7.09 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.095e-05/0.3723, allocations: 25.7 kB / 466.7 MB, free: 7.059 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.389e-05/0.3723, allocations: 84.14 kB / 466.7 MB, free: 6.973 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.372e-05/0.3723, allocations: 7.906 kB / 466.8 MB, free: 6.965 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.464e-06/0.3723, allocations: 3.938 kB / 466.8 MB, free: 6.961 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001071/0.3724, allocations: 322.7 kB / 467.1 MB, free: 6.637 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.783e-05/0.3725, allocations: 8 kB / 467.1 MB, free: 6.629 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.16e-05/0.3725, allocations: 13.72 kB / 467.1 MB, free: 6.609 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.236e-05/0.3725, allocations: 12.03 kB / 467.1 MB, free: 6.598 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.3725, allocations: 4 kB / 467.1 MB, free: 6.594 MB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.25e-05/0.3726, allocations: 53.62 kB / 467.2 MB, free: 6.535 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.728e-06/0.3726, allocations: 4 kB / 467.2 MB, free: 6.531 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.3726, allocations: 0 / 467.2 MB, free: 6.531 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.907e-06/0.3727, allocations: 0 / 467.2 MB, free: 6.531 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.381e-05/0.3727, allocations: 15.89 kB / 467.2 MB, free: 6.516 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.908e-06/0.3727, allocations: 0 / 467.2 MB, free: 6.516 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.355e-05/0.3728, allocations: 4 kB / 467.2 MB, free: 6.512 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.118e-06/0.3728, allocations: 0 / 467.2 MB, free: 6.512 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 6.514e-05/0.3728, allocations: 107.9 kB / 467.3 MB, free: 6.402 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.012e-05/0.3729, allocations: 7.906 kB / 467.3 MB, free: 6.395 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.729e-05/0.3729, allocations: 3.688 kB / 467.3 MB, free: 6.391 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.3729, allocations: 0.5625 kB / 467.3 MB, free: 6.391 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.287e-06/0.3729, allocations: 0 / 467.3 MB, free: 6.391 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.3729, allocations: 0 / 467.3 MB, free: 6.391 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.491e-05/0.373, allocations: 138.2 kB / 467.4 MB, free: 6.219 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.373, allocations: 4 kB / 467.4 MB, free: 6.215 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.086e-05/0.3731, allocations: 7.938 kB / 467.5 MB, free: 6.207 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.195e-05/0.3731, allocations: 4.469 kB / 467.5 MB, free: 6.203 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.706e-06/0.3732, allocations: 0.75 kB / 467.5 MB, free: 6.203 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.3732, allocations: 7.984 kB / 467.5 MB, free: 6.195 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.678e-06/0.3732, allocations: 4 kB / 467.5 MB, free: 6.191 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001147/0.3733, allocations: 73.03 kB / 467.5 MB, free: 6.102 MB / 346.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002107/0.3735, allocations: 458.5 kB / 468 MB, free: 5.633 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.591e-05/0.3736, allocations: 94.05 kB / 468.1 MB, free: 5.523 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.348e-05/0.3736, allocations: 0 / 468.1 MB, free: 5.523 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.117e-05/0.3736, allocations: 0 / 468.1 MB, free: 5.523 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.573e-05/0.3736, allocations: 4.078 kB / 468.1 MB, free: 5.52 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.05e-06/0.3736, allocations: 4 kB / 468.1 MB, free: 5.516 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.253e-05/0.3737, allocations: 79.28 kB / 468.2 MB, free: 5.438 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0008941/0.3746, allocations: 79.7 kB / 468.2 MB, free: 5.359 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (q,qd) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.00028/0.3749, allocations: 167.1 kB / 468.4 MB, free: 5.188 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 6.802e-05/0.375, allocations: 19.98 kB / 468.4 MB, free: 5.168 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.375, allocations: 0 / 468.4 MB, free: 5.168 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.433e-05/0.375, allocations: 19.88 kB / 468.4 MB, free: 5.148 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.832e-05/0.3751, allocations: 0 / 468.4 MB, free: 5.148 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002446/0.3753, allocations: 84.47 kB / 468.5 MB, free: 5.043 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002737/0.3756, allocations: 0.6959 MB / 469.2 MB, free: 4.324 MB / 346.7 MB Notification: Performance of SimCode: time 3.01e-07/0.3756, allocations: 4 kB / 469.2 MB, free: 4.32 MB / 346.7 MB (rm -f Modelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe ; mkfifo Modelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe >> ../files/Modelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Math_Nonlinear_Examples_QuadratureLobatto3_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Math_Nonlinear_Examples_QuadratureLobatto3.fmu > Modelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe 2>&1)