Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine,fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.001481/0.001481, allocations: 208.1 kB / 8.538 MB, free: 2.648 MB / 6.207 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.294/1.294, allocations: 225.5 MB / 234.4 MB, free: 3.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001062/0.001062, allocations: 84.03 kB / 286.3 MB, free: 0.5 MB / 222.1 MB Notification: Performance of FrontEnd - loaded program: time 0.1155/0.1166, allocations: 56.89 MB / 343.2 MB, free: 7.613 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2542/0.3708, allocations: 51.46 MB / 394.7 MB, free: 36.98 MB / 302.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08539/0.4562, allocations: 76.2 MB / 470.9 MB, free: 8.656 MB / 350.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001677/0.4565, allocations: 67.97 kB / 471 MB, free: 8.59 MB / 350.1 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.01601/0.4725, allocations: 5.251 MB / 476.2 MB, free: 3.301 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/0.4725, allocations: 8 kB / 476.2 MB, free: 3.293 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001214/0.4727, allocations: 15.89 kB / 476.2 MB, free: 3.277 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001177/0.4728, allocations: 159.1 kB / 476.4 MB, free: 3.082 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.166e-05/0.4728, allocations: 0 / 476.4 MB, free: 3.082 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.676e-06/0.4728, allocations: 0 / 476.4 MB, free: 3.082 MB / 350.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.167e-05/0.4729, allocations: 4 kB / 476.4 MB, free: 3.078 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.818e-05/0.473, allocations: 39.3 kB / 476.4 MB, free: 3.035 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.634e-06/0.473, allocations: 0 / 476.4 MB, free: 3.035 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.237e-05/0.473, allocations: 3.984 kB / 476.4 MB, free: 3.031 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.473, allocations: 0 / 476.4 MB, free: 3.031 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000379/0.4734, allocations: 445.7 kB / 476.9 MB, free: 2.539 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.639e-05/0.4735, allocations: 169.1 kB / 477 MB, free: 2.363 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.793e-05/0.4735, allocations: 84.14 kB / 477.1 MB, free: 2.277 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.074e-05/0.4735, allocations: 75.28 kB / 477.2 MB, free: 2.203 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.467e-05/0.4736, allocations: 117.8 kB / 477.3 MB, free: 2.078 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 1.092e-06/0.4736, allocations: 0 / 477.3 MB, free: 2.078 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 7.114e-05/0.4737, allocations: 29.69 kB / 477.3 MB, free: 2.043 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.668e-05/0.4737, allocations: 77.11 kB / 477.4 MB, free: 1.949 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.501e-05/0.4738, allocations: 104.9 kB / 477.5 MB, free: 1.84 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.231e-05/0.4738, allocations: 25.7 kB / 477.5 MB, free: 1.809 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.277e-05/0.4739, allocations: 88.05 kB / 477.6 MB, free: 1.719 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.883e-06/0.4739, allocations: 3.938 kB / 477.6 MB, free: 1.715 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.996e-06/0.4739, allocations: 0 / 477.6 MB, free: 1.715 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.117e-05/0.474, allocations: 318.8 kB / 477.9 MB, free: 1.395 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.087e-06/0.474, allocations: 1.594 kB / 477.9 MB, free: 1.395 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.388e-05/0.474, allocations: 4 kB / 477.9 MB, free: 1.391 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.398e-05/0.4741, allocations: 8.094 kB / 478 MB, free: 1.383 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.4741, allocations: 0 / 478 MB, free: 1.383 MB / 350.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001452/0.4742, allocations: 37.69 kB / 478 MB, free: 1.34 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.4743, allocations: 8 kB / 478 MB, free: 1.332 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.4743, allocations: 0 / 478 MB, free: 1.332 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.959e-06/0.4743, allocations: 0 / 478 MB, free: 1.332 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.845e-05/0.4743, allocations: 0 / 478 MB, free: 1.332 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.4743, allocations: 3.906 kB / 478 MB, free: 1.328 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.64e-05/0.4744, allocations: 4 kB / 478 MB, free: 1.324 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.378e-06/0.4744, allocations: 0 / 478 MB, free: 1.324 MB / 350.1 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 0.0001073/0.4745, allocations: 192.2 kB / 478.2 MB, free: 1.129 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.765e-05/0.4746, allocations: 105 kB / 478.3 MB, free: 1.02 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.653e-05/0.4746, allocations: 108.4 kB / 478.4 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.063e-05/0.4747, allocations: 176.3 kB / 478.6 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.077e-05/0.4747, allocations: 184.2 kB / 478.8 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.305e-05/0.4748, allocations: 185 kB / 478.9 MB, free: 360 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001912/0.475, allocations: 389.8 kB / 479.3 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.766e-05/0.475, allocations: 104.9 kB / 479.4 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.104e-05/0.4751, allocations: 101 kB / 479.5 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.747e-05/0.4751, allocations: 176.3 kB / 479.7 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.313e-05/0.4752, allocations: 180.5 kB / 479.9 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.287e-05/0.4752, allocations: 188.3 kB / 480 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.455e-05/0.4753, allocations: 185.8 kB / 480.2 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000115/0.4754, allocations: 305.2 kB / 480.5 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000229/0.4757, allocations: 0.6797 MB / 481.2 MB, free: 13.94 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.438e-05/0.4757, allocations: 182.1 kB / 481.4 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.816e-05/0.4758, allocations: 184.2 kB / 481.6 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.398e-05/0.4759, allocations: 105 kB / 481.7 MB, free: 13.44 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.609e-05/0.476, allocations: 180.2 kB / 481.8 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.953e-05/0.476, allocations: 109 kB / 482 MB, free: 13.14 MB / 366.1 MB Notification: Performance of sort global known variables: time 4.357e-05/0.4761, allocations: 87.22 kB / 482 MB, free: 13.05 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008914/0.477, allocations: 59.86 kB / 482.1 MB, free: 13 MB / 366.1 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.0004355/0.4774, allocations: 258.5 kB / 482.3 MB, free: 12.75 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 5.765e-05/0.4775, allocations: 8 kB / 482.4 MB, free: 12.74 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.4775, allocations: 3.938 kB / 482.4 MB, free: 12.74 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.312e-06/0.4775, allocations: 0 / 482.4 MB, free: 12.74 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000269/0.4778, allocations: 0.5224 MB / 482.9 MB, free: 12.21 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001902/0.478, allocations: 135.2 kB / 483 MB, free: 12.05 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002626/0.4782, allocations: 0.688 MB / 483.7 MB, free: 11.34 MB / 366.1 MB Notification: Performance of SimCode: time 2.51e-07/0.4782, allocations: 0 / 483.7 MB, free: 11.34 MB / 366.1 MB (rm -f Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine_res.mat --tempDir=temp_Modelica_trunk_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sine_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sine.fmu > Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe 2>&1)