Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.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) 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(Modelica.Math.Nonlinear.Examples.quadratureLobatto3,fileNamePrefix="Modelica_3_2_3_Modelica_Math_Nonlinear_Examples_quadratureLobatto3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Math.Nonlinear.Examples.quadratureLobatto3,fileNamePrefix="Modelica_3_2_3_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 3.2.3+maint.om/package.mo): time 0.001016/0.001016, allocations: 174.9 kB / 8.473 MB, free: 1.875 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.101/1.101, allocations: 205.2 MB / 214.1 MB, free: 13.86 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.0009138/0.0009136, allocations: 76.58 kB / 262.1 MB, free: 13.55 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.08774/0.08868, allocations: 52.99 MB / 315.1 MB, free: 8.512 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1798/0.2685, allocations: 47.56 MB / 362.6 MB, free: 45.79 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.07478/0.3433, allocations: 74.46 MB / 437.1 MB, free: 11.45 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002165/0.3436, allocations: 67.97 kB / 437.2 MB, free: 11.38 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.01099/0.3546, allocations: 3.595 MB / 440.7 MB, free: 7.789 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.56e-05/0.3547, allocations: 15.98 kB / 440.8 MB, free: 7.773 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.741e-05/0.3547, allocations: 7.906 kB / 440.8 MB, free: 7.766 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001297/0.3548, allocations: 163.1 kB / 440.9 MB, free: 7.566 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.457e-06/0.3549, allocations: 0 / 440.9 MB, free: 7.566 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.382e-05/0.3549, allocations: 0 / 440.9 MB, free: 7.566 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.919e-05/0.3549, allocations: 4 kB / 440.9 MB, free: 7.562 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.819e-05/0.355, allocations: 45.53 kB / 441 MB, free: 7.512 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.405e-06/0.355, allocations: 0 / 441 MB, free: 7.512 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.295e-06/0.355, allocations: 0.8125 kB / 441 MB, free: 7.512 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.355, allocations: 4 kB / 441 MB, free: 7.508 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001318/0.3552, allocations: 138.2 kB / 441.1 MB, free: 7.336 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.027e-05/0.3552, allocations: 25.72 kB / 441.1 MB, free: 7.305 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.394e-05/0.3553, allocations: 12.86 kB / 441.2 MB, free: 7.289 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.097e-06/0.3553, allocations: 0 / 441.2 MB, free: 7.289 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.866e-05/0.3553, allocations: 30.56 kB / 441.2 MB, free: 7.25 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 9.11e-07/0.3553, allocations: 0.5625 kB / 441.2 MB, free: 7.25 MB / 330.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001278/0.3554, allocations: 49.67 kB / 441.2 MB, free: 7.195 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.65e-05/0.3555, allocations: 51.41 kB / 441.3 MB, free: 7.133 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.538e-05/0.3556, allocations: 101 kB / 441.4 MB, free: 7.027 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.256e-05/0.3556, allocations: 25.7 kB / 441.4 MB, free: 6.996 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.251e-05/0.3556, allocations: 80.14 kB / 441.5 MB, free: 6.914 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.724e-05/0.3556, allocations: 18.34 kB / 441.5 MB, free: 6.898 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.855e-06/0.3556, allocations: 0 / 441.5 MB, free: 6.898 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.866e-05/0.3557, allocations: 310.8 kB / 441.8 MB, free: 6.586 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.708e-05/0.3558, allocations: 8 kB / 441.8 MB, free: 6.578 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.671e-05/0.3558, allocations: 24.7 kB / 441.8 MB, free: 6.551 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.182e-05/0.3558, allocations: 8 kB / 441.8 MB, free: 6.543 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.3558, allocations: 0 / 441.8 MB, free: 6.543 MB / 330.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.751e-05/0.3559, allocations: 53.91 kB / 441.9 MB, free: 6.484 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.105e-05/0.3559, allocations: 4 kB / 441.9 MB, free: 6.48 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.356, allocations: 7.984 kB / 441.9 MB, free: 6.473 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.147e-05/0.356, allocations: 3.906 kB / 441.9 MB, free: 6.469 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.135e-05/0.356, allocations: 8 kB / 441.9 MB, free: 6.461 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.3561, allocations: 0 / 441.9 MB, free: 6.461 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.406e-05/0.3561, allocations: 7.969 kB / 441.9 MB, free: 6.453 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.198e-06/0.3561, allocations: 0 / 441.9 MB, free: 6.453 MB / 330.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 5.757e-05/0.3562, allocations: 105 kB / 442 MB, free: 6.344 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.364e-05/0.3562, allocations: 7.891 kB / 442 MB, free: 6.336 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.949e-05/0.3562, allocations: 3.688 kB / 442 MB, free: 6.328 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.3562, allocations: 0 / 442 MB, free: 6.328 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.3562, allocations: 4 kB / 442 MB, free: 6.324 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.3562, allocations: 3.938 kB / 442.1 MB, free: 6.32 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.278e-05/0.3563, allocations: 134.2 kB / 442.2 MB, free: 6.152 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.3563, allocations: 0 / 442.2 MB, free: 6.152 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.01e-05/0.3564, allocations: 11.91 kB / 442.2 MB, free: 6.141 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.25e-06/0.3564, allocations: 4 kB / 442.2 MB, free: 6.137 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.203e-06/0.3564, allocations: 0 / 442.2 MB, free: 6.137 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.3565, allocations: 0 / 442.2 MB, free: 6.137 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.3565, allocations: 0.75 kB / 442.2 MB, free: 6.137 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001042/0.3566, allocations: 73.03 kB / 442.3 MB, free: 6.047 MB / 330.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001845/0.3568, allocations: 473.5 kB / 442.7 MB, free: 5.562 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.163e-05/0.3568, allocations: 77.11 kB / 442.8 MB, free: 5.469 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.411e-05/0.3568, allocations: 1 kB / 442.8 MB, free: 5.469 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.036e-05/0.3569, allocations: 0 / 442.8 MB, free: 5.469 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.305e-05/0.3569, allocations: 4 kB / 442.8 MB, free: 5.465 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.615e-06/0.3569, allocations: 0 / 442.8 MB, free: 5.465 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.558e-05/0.3569, allocations: 88.3 kB / 442.9 MB, free: 5.379 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0008845/0.3578, allocations: 71.78 kB / 443 MB, free: 5.309 MB / 330.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.0003583/0.3582, allocations: 175.1 kB / 443.1 MB, free: 5.129 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 8.272e-05/0.3583, allocations: 15.94 kB / 443.2 MB, free: 5.113 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.3583, allocations: 0 / 443.2 MB, free: 5.113 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 2.26e-05/0.3583, allocations: 8 kB / 443.2 MB, free: 5.105 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001704/0.3585, allocations: 0 / 443.2 MB, free: 5.105 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002763/0.3588, allocations: 92.08 kB / 443.3 MB, free: 4.996 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002985/0.3591, allocations: 0.7033 MB / 444 MB, free: 4.27 MB / 330.7 MB Notification: Performance of SimCode: time 3.61e-07/0.3591, allocations: 0 / 444 MB, free: 4.27 MB / 330.7 MB (rm -f Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.pipe ; mkfifo Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.pipe >> ../files/Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Math_Nonlinear_Examples_quadratureLobatto3_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Math_Nonlinear_Examples_quadratureLobatto3.fmu > Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.pipe 2>&1)