Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.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.Media.Examples.SolveOneNonlinearEquation.Inverse_sine,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sine",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.0009846/0.0009848, 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.101/1.101, allocations: 221.4 MB / 229.9 MB, free: 3.07 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.0008828/0.0008829, allocations: 100.8 kB / 280.8 MB, free: 1.254 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.09337/0.09428, allocations: 55.82 MB / 336.6 MB, free: 9.41 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1852/0.2795, allocations: 50.39 MB / 387 MB, free: 37.98 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.07429/0.3538, allocations: 75.39 MB / 462.4 MB, free: 11.38 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001772/0.3541, allocations: 73.08 kB / 462.5 MB, free: 11.3 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.01473/0.3688, allocations: 5.214 MB / 467.7 MB, free: 6.074 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.254e-05/0.3688, allocations: 9.312 kB / 467.7 MB, free: 6.066 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.981e-05/0.3689, allocations: 7.906 kB / 467.7 MB, free: 6.059 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.154e-05/0.369, allocations: 159.1 kB / 467.9 MB, free: 5.863 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.238e-06/0.369, allocations: 0 / 467.9 MB, free: 5.863 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.295e-06/0.369, allocations: 4 kB / 467.9 MB, free: 5.859 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.966e-05/0.369, allocations: 11.94 kB / 467.9 MB, free: 5.848 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.396e-05/0.3691, allocations: 33.69 kB / 467.9 MB, free: 5.809 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.62e-06/0.3691, allocations: 0 / 467.9 MB, free: 5.809 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.164e-05/0.3691, allocations: 3.906 kB / 467.9 MB, free: 5.805 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.3691, allocations: 0.5625 kB / 467.9 MB, free: 5.805 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003391/0.3695, allocations: 445.7 kB / 468.3 MB, free: 5.312 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.139e-05/0.3696, allocations: 169.1 kB / 468.5 MB, free: 5.137 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.931e-05/0.3696, allocations: 88.06 kB / 468.6 MB, free: 5.047 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.061e-05/0.3696, allocations: 75.28 kB / 468.7 MB, free: 4.973 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.032e-05/0.3697, allocations: 114.6 kB / 468.8 MB, free: 4.852 MB / 346.7 MB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.3697, allocations: 0 / 468.8 MB, free: 4.852 MB / 346.7 MB Notification: Performance of matching and sorting (n=0): time 6.015e-05/0.3697, allocations: 29.61 kB / 468.8 MB, free: 4.816 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.178e-05/0.3698, allocations: 81.11 kB / 468.9 MB, free: 4.719 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.469e-05/0.3699, allocations: 97.75 kB / 469 MB, free: 4.617 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.298e-05/0.3699, allocations: 25.7 kB / 469 MB, free: 4.586 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.496e-05/0.3699, allocations: 88.12 kB / 469.1 MB, free: 4.496 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.242e-06/0.3699, allocations: 0 / 469.1 MB, free: 4.496 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.886e-06/0.3699, allocations: 0.9375 kB / 469.1 MB, free: 4.496 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.412e-05/0.37, allocations: 318.8 kB / 469.4 MB, free: 4.176 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.187e-06/0.37, allocations: 0 / 469.4 MB, free: 4.176 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.183e-05/0.3701, allocations: 11.94 kB / 469.4 MB, free: 4.164 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.396e-05/0.3701, allocations: 11.92 kB / 469.4 MB, free: 4.152 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.3701, allocations: 0 / 469.4 MB, free: 4.152 MB / 346.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001042/0.3702, allocations: 33.7 kB / 469.5 MB, free: 4.113 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.046e-05/0.3703, allocations: 8 kB / 469.5 MB, free: 4.105 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.506e-06/0.3703, allocations: 0 / 469.5 MB, free: 4.105 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.716e-06/0.3703, allocations: 0.625 kB / 469.5 MB, free: 4.105 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.205e-05/0.3703, allocations: 3.938 kB / 469.5 MB, free: 4.102 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.3703, allocations: 3.984 kB / 469.5 MB, free: 4.098 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.435e-05/0.3704, allocations: 12.03 kB / 469.5 MB, free: 4.086 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.155e-06/0.3704, allocations: 0 / 469.5 MB, free: 4.086 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 7.25e-05/0.3705, allocations: 176.3 kB / 469.7 MB, free: 3.906 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.341e-05/0.3705, allocations: 106.1 kB / 469.8 MB, free: 3.797 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.388e-05/0.3706, allocations: 112.4 kB / 469.9 MB, free: 3.68 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.355e-05/0.3706, allocations: 184.2 kB / 470.1 MB, free: 3.492 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.765e-05/0.3707, allocations: 184.3 kB / 470.2 MB, free: 3.305 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.752e-05/0.3707, allocations: 180.2 kB / 470.4 MB, free: 3.121 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00016/0.3709, allocations: 389.8 kB / 470.8 MB, free: 2.695 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.537e-05/0.3709, allocations: 101 kB / 470.9 MB, free: 2.59 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.925e-05/0.371, allocations: 104.9 kB / 471 MB, free: 2.48 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.875e-05/0.371, allocations: 176.3 kB / 471.2 MB, free: 2.301 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.059e-05/0.3711, allocations: 185.6 kB / 471.3 MB, free: 2.113 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.514e-05/0.3711, allocations: 184.2 kB / 471.5 MB, free: 1.926 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.693e-05/0.3712, allocations: 180.2 kB / 471.7 MB, free: 1.742 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001031/0.3713, allocations: 307.7 kB / 472 MB, free: 1.418 MB / 346.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001916/0.3715, allocations: 0.6768 MB / 472.7 MB, free: 0.7148 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.031e-05/0.3715, allocations: 186.1 kB / 472.9 MB, free: 0.5078 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.164e-05/0.3716, allocations: 176.3 kB / 473 MB, free: 336 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.302e-05/0.3717, allocations: 101 kB / 473.1 MB, free: 228 kB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.766e-05/0.3718, allocations: 184.2 kB / 473.3 MB, free: 36 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.755e-05/0.3718, allocations: 109.2 kB / 473.4 MB, free: 15.92 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.219e-05/0.3719, allocations: 88.22 kB / 473.5 MB, free: 15.84 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007913/0.3727, allocations: 47.92 kB / 473.5 MB, free: 15.79 MB / 362.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.0003306/0.373, allocations: 265.4 kB / 473.8 MB, free: 15.54 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 5.146e-05/0.3731, allocations: 11.95 kB / 473.8 MB, free: 15.53 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.3731, allocations: 0 / 473.8 MB, free: 15.53 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.265e-06/0.3731, allocations: 7.938 kB / 473.8 MB, free: 15.52 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002379/0.3733, allocations: 0.5186 MB / 474.3 MB, free: 15 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001383/0.3735, allocations: 123.2 kB / 474.5 MB, free: 14.85 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002075/0.3737, allocations: 0.6958 MB / 475.2 MB, free: 14.13 MB / 362.7 MB Notification: Performance of SimCode: time 2.51e-07/0.3737, allocations: 0 / 475.2 MB, free: 14.13 MB / 362.7 MB (rm -f Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sine_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sine.fmu > Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe 2>&1)