Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.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.Media.Examples.SolveOneNonlinearEquation.Inverse_sine,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine,fileNamePrefix="Modelica_3_2_3_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 3.2.3+maint.om/package.mo): time 0.001128/0.001128, allocations: 175 kB / 8.473 MB, free: 1.879 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.36/1.36, allocations: 205.2 MB / 214.1 MB, free: 1.879 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001155/0.001155, allocations: 87.33 kB / 262.1 MB, free: 1.836 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1798/0.181, allocations: 52.96 MB / 315 MB, free: 22.95 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09313/0.2741, allocations: 47.59 MB / 362.6 MB, free: 7.301 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2724/0.5466, allocations: 76 MB / 438.6 MB, free: 3.473 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002796/0.5469, allocations: 64.78 kB / 438.7 MB, free: 3.441 MB / 314.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.01637/0.5633, allocations: 5.24 MB / 443.9 MB, free: 15 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.873e-05/0.5634, allocations: 8 kB / 443.9 MB, free: 14.99 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.064e-05/0.5635, allocations: 3.906 kB / 444 MB, free: 14.98 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001274/0.5636, allocations: 167 kB / 444.1 MB, free: 14.78 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.598e-06/0.5636, allocations: 0 / 444.1 MB, free: 14.78 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.078e-05/0.5636, allocations: 0 / 444.1 MB, free: 14.78 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.725e-05/0.5637, allocations: 11.84 kB / 444.1 MB, free: 14.77 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.84e-05/0.5638, allocations: 37.67 kB / 444.2 MB, free: 14.73 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.5638, allocations: 0 / 444.2 MB, free: 14.73 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.297e-05/0.5638, allocations: 7.938 kB / 444.2 MB, free: 14.72 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.5638, allocations: 0 / 444.2 MB, free: 14.72 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003841/0.5642, allocations: 376.2 kB / 444.5 MB, free: 14.32 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.529e-05/0.5643, allocations: 173 kB / 444.7 MB, free: 14.14 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.294e-05/0.5643, allocations: 84.88 kB / 444.8 MB, free: 14.05 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.493e-05/0.5644, allocations: 79.28 kB / 444.9 MB, free: 13.98 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.157e-05/0.5644, allocations: 105.8 kB / 445 MB, free: 13.86 MB / 330.7 MB Notification: Performance of pre-optimization done (n=0): time 1.362e-06/0.5644, allocations: 4 kB / 445 MB, free: 13.86 MB / 330.7 MB Notification: Performance of matching and sorting (n=0): time 8.018e-05/0.5645, allocations: 25.7 kB / 445 MB, free: 13.83 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.188e-05/0.5646, allocations: 77.11 kB / 445.1 MB, free: 13.73 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.674e-05/0.5647, allocations: 111.5 kB / 445.2 MB, free: 13.62 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.557e-05/0.5647, allocations: 25.7 kB / 445.2 MB, free: 13.59 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.802e-05/0.5648, allocations: 95.8 kB / 445.3 MB, free: 13.5 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.134e-06/0.5648, allocations: 0 / 445.3 MB, free: 13.5 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.605e-06/0.5648, allocations: 4 kB / 445.3 MB, free: 13.49 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001102/0.5649, allocations: 310.8 kB / 445.6 MB, free: 13.18 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.558e-06/0.5649, allocations: 0 / 445.6 MB, free: 13.18 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.441e-05/0.5649, allocations: 7.438 kB / 445.6 MB, free: 13.18 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.621e-05/0.565, allocations: 11.98 kB / 445.6 MB, free: 13.16 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.5651, allocations: 0 / 445.6 MB, free: 13.16 MB / 330.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001564/0.5652, allocations: 53.67 kB / 445.7 MB, free: 13.11 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.5652, allocations: 4 kB / 445.7 MB, free: 13.1 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.5653, allocations: 0 / 445.7 MB, free: 13.1 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.5653, allocations: 0 / 445.7 MB, free: 13.1 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.926e-05/0.5653, allocations: 7.688 kB / 445.7 MB, free: 13.1 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.817e-06/0.5653, allocations: 0 / 445.7 MB, free: 13.1 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.551e-05/0.5654, allocations: 0 / 445.7 MB, free: 13.1 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.89e-05/0.5654, allocations: 4 kB / 445.7 MB, free: 13.09 MB / 330.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 9.49e-05/0.5655, allocations: 180.2 kB / 445.9 MB, free: 12.91 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.395e-05/0.5656, allocations: 109.4 kB / 446 MB, free: 12.8 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.752e-05/0.5656, allocations: 116.2 kB / 446.1 MB, free: 12.68 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.882e-05/0.5657, allocations: 176.3 kB / 446.3 MB, free: 12.5 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.792e-05/0.5658, allocations: 184.2 kB / 446.4 MB, free: 12.31 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.562e-05/0.5659, allocations: 180.3 kB / 446.6 MB, free: 12.13 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002491/0.5661, allocations: 385.1 kB / 447 MB, free: 11.71 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.967e-05/0.5662, allocations: 112.9 kB / 447.1 MB, free: 11.59 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.783e-05/0.5662, allocations: 112.7 kB / 447.2 MB, free: 11.48 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.107e-05/0.5663, allocations: 176.3 kB / 447.4 MB, free: 11.3 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.609e-05/0.5664, allocations: 180.2 kB / 447.6 MB, free: 11.12 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.676e-05/0.5665, allocations: 180.3 kB / 447.7 MB, free: 10.93 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.426e-05/0.5666, allocations: 185.9 kB / 447.9 MB, free: 10.75 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001781/0.5667, allocations: 307.5 kB / 448.2 MB, free: 10.43 MB / 330.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002644/0.567, allocations: 0.6712 MB / 448.9 MB, free: 9.73 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.443e-05/0.5671, allocations: 190 kB / 449.1 MB, free: 9.52 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.416e-05/0.5672, allocations: 180.2 kB / 449.3 MB, free: 9.336 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001128/0.5673, allocations: 101 kB / 449.4 MB, free: 9.23 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.311e-05/0.5674, allocations: 184 kB / 449.5 MB, free: 9.047 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.646e-05/0.5674, allocations: 105 kB / 449.6 MB, free: 8.938 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.429e-05/0.5675, allocations: 99.62 kB / 449.7 MB, free: 8.844 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001122/0.5686, allocations: 55.42 kB / 449.8 MB, free: 8.793 MB / 330.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.0007169/0.5693, allocations: 281.4 kB / 450.1 MB, free: 8.516 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 9.703e-05/0.5695, allocations: 11.86 kB / 450.1 MB, free: 8.508 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.5695, allocations: 0 / 450.1 MB, free: 8.508 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 2.364e-06/0.5695, allocations: 0 / 450.1 MB, free: 8.508 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003735/0.5699, allocations: 0.5185 MB / 450.6 MB, free: 7.984 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002643/0.5701, allocations: 135 kB / 450.7 MB, free: 7.832 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003266/0.5705, allocations: 0.6919 MB / 451.4 MB, free: 7.113 MB / 330.7 MB Notification: Performance of SimCode: time 7.31e-07/0.5705, allocations: 3.938 kB / 451.4 MB, free: 7.109 MB / 330.7 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sine_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sine.fmu > Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe 2>&1)