Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.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_sh_T,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_T",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.0009286/0.0009286, allocations: 182.3 kB / 8.133 MB, free: 2.207 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.05/1.05, 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.0008502/0.0008502, allocations: 101.9 kB / 280.8 MB, free: 1.242 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.08245/0.08333, allocations: 55.81 MB / 336.6 MB, free: 9.414 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1649/0.2483, allocations: 50.4 MB / 387 MB, free: 38.04 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7063/0.9546, allocations: 497.6 MB / 0.8639 GB, free: 118.1 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002022/0.9548, allocations: 79.88 kB / 0.8639 GB, free: 118.1 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.06131/1.016, allocations: 30.99 MB / 0.8942 GB, free: 94.61 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.942e-05/1.016, allocations: 8 kB / 0.8942 GB, free: 94.6 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008239/1.017, allocations: 114.8 kB / 0.8943 GB, free: 94.49 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001342/1.017, allocations: 194.5 kB / 0.8945 GB, free: 94.27 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.174e-05/1.017, allocations: 4 kB / 0.8945 GB, free: 94.26 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.695e-05/1.017, allocations: 4 kB / 0.8945 GB, free: 94.26 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.472e-05/1.017, allocations: 30.73 kB / 0.8945 GB, free: 94.23 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.042e-05/1.017, allocations: 66.44 kB / 0.8946 GB, free: 94.16 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.991e-06/1.017, allocations: 4 kB / 0.8946 GB, free: 94.16 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/1.017, allocations: 0 / 0.8946 GB, free: 94.16 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/1.017, allocations: 0 / 0.8946 GB, free: 94.16 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001372/1.018, allocations: 180 kB / 0.8948 GB, free: 93.95 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002591/1.018, allocations: 91.77 kB / 0.8949 GB, free: 93.86 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.55e-05/1.018, allocations: 25.22 kB / 0.8949 GB, free: 93.83 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000527/1.018, allocations: 1.636 MB / 0.8965 GB, free: 91.85 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.818e-06/1.018, allocations: 34.56 kB / 0.8965 GB, free: 91.8 MB / 442.7 MB Notification: Performance of pre-optimization done (n=6): time 1.153e-06/1.018, allocations: 0 / 0.8965 GB, free: 91.8 MB / 442.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004981/1.019, allocations: 132.4 kB / 0.8966 GB, free: 91.68 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.502e-05/1.019, allocations: 77.11 kB / 0.8967 GB, free: 91.59 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.424e-05/1.019, allocations: 119.9 kB / 0.8968 GB, free: 91.47 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 9.507e-06/1.019, allocations: 25.7 kB / 0.8969 GB, free: 91.44 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.099e-05/1.019, allocations: 84.14 kB / 0.8969 GB, free: 91.36 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.684e-05/1.019, allocations: 23.08 kB / 0.897 GB, free: 91.34 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.231e-06/1.019, allocations: 0 / 0.897 GB, free: 91.34 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 3.179e-05/1.019, allocations: 322.4 kB / 0.8973 GB, free: 91.02 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.918e-05/1.019, allocations: 15.55 kB / 0.8973 GB, free: 91 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.334e-05/1.019, allocations: 42.33 kB / 0.8973 GB, free: 90.96 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003523/1.02, allocations: 78.83 kB / 0.8974 GB, free: 90.89 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/1.02, allocations: 0 / 0.8974 GB, free: 90.89 MB / 442.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004407/1.02, allocations: 148.6 kB / 0.8975 GB, free: 90.75 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.067e-06/1.02, allocations: 11.28 kB / 0.8975 GB, free: 90.74 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/1.02, allocations: 3.984 kB / 0.8976 GB, free: 90.74 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.208e-06/1.02, allocations: 0 / 0.8976 GB, free: 90.74 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001209/1.02, allocations: 19.98 kB / 0.8976 GB, free: 90.72 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.747e-06/1.02, allocations: 0 / 0.8976 GB, free: 90.72 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000154/1.02, allocations: 11.22 kB / 0.8976 GB, free: 90.71 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.368e-05/1.02, allocations: 4 kB / 0.8976 GB, free: 90.71 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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 4.233e-05/1.02, allocations: 107.8 kB / 0.8977 GB, free: 90.6 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.159e-05/1.02, allocations: 19.78 kB / 0.8977 GB, free: 90.58 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005402/1.021, allocations: 167.6 kB / 0.8979 GB, free: 90.42 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/1.021, allocations: 0 / 0.8979 GB, free: 90.42 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/1.021, allocations: 0 / 0.8979 GB, free: 90.42 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/1.021, allocations: 4 kB / 0.8979 GB, free: 90.41 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.247e-05/1.021, allocations: 165 kB / 0.898 GB, free: 90.22 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/1.021, allocations: 0 / 0.898 GB, free: 90.22 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001287/1.021, allocations: 11.98 kB / 0.898 GB, free: 90.21 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/1.021, allocations: 4 kB / 0.898 GB, free: 90.21 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.165e-05/1.021, allocations: 0 / 0.898 GB, free: 90.21 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/1.021, allocations: 7.875 kB / 0.8981 GB, free: 90.2 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/1.021, allocations: 0 / 0.8981 GB, free: 90.2 MB / 442.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004792/1.022, allocations: 204.3 kB / 0.8982 GB, free: 90 MB / 442.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005597/1.022, allocations: 0.5895 MB / 0.8988 GB, free: 89.42 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.765e-05/1.022, allocations: 103.3 kB / 0.8989 GB, free: 89.3 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.452e-05/1.022, allocations: 8.25 kB / 0.8989 GB, free: 89.3 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001574/1.023, allocations: 7.984 kB / 0.8989 GB, free: 89.29 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.489e-05/1.023, allocations: 10.23 kB / 0.8989 GB, free: 89.28 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.877e-06/1.023, allocations: 0 / 0.8989 GB, free: 89.28 MB / 442.7 MB Notification: Performance of sort global known variables: time 5.206e-05/1.023, allocations: 108.8 kB / 0.8991 GB, free: 89.18 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001025/1.024, allocations: 220.8 kB / 0.8993 GB, free: 89.05 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (s1,h1) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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.0009187/1.025, allocations: 0.7957 MB / 0.9 GB, free: 88.28 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001088/1.025, allocations: 50.59 kB / 0.9001 GB, free: 88.24 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/1.025, allocations: 0 / 0.9001 GB, free: 88.24 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 3.634e-05/1.025, allocations: 23.66 kB / 0.9001 GB, free: 88.22 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001323/1.025, allocations: 19.77 kB / 0.9001 GB, free: 88.21 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004042/1.025, allocations: 210.3 kB / 0.9003 GB, free: 87.98 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002067/1.026, allocations: 0.7344 MB / 0.901 GB, free: 87.22 MB / 442.7 MB Notification: Performance of SimCode: time 2.51e-07/1.026, allocations: 0 / 0.901 GB, free: 87.22 MB / 442.7 MB (rm -f Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_T_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_T.fmu > Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe 2>&1)