Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.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_sh_TX,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_TX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_TX",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.001207/0.001207, allocations: 177 kB / 8.476 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.169/1.169, allocations: 205.2 MB / 214.1 MB, free: 5.449 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.000837/0.0008371, allocations: 91.31 kB / 262.1 MB, free: 5.508 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1721/0.1729, allocations: 52.96 MB / 315.1 MB, free: 41.48 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0771/0.2501, allocations: 47.57 MB / 362.6 MB, free: 9.941 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.304/1.554, allocations: 0.7471 GB / 1.101 GB, free: 157.6 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002543/1.555, allocations: 68.7 kB / 1.101 GB, free: 157.6 MB / 426.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.1596/1.714, allocations: 77.77 MB / 1.177 GB, free: 79.6 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/1.714, allocations: 8 kB / 1.177 GB, free: 79.59 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003258/1.715, allocations: 39.84 kB / 1.177 GB, free: 79.55 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001898/1.715, allocations: 187.1 kB / 1.178 GB, free: 79.33 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.644e-05/1.715, allocations: 3.906 kB / 1.178 GB, free: 79.33 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.333e-05/1.715, allocations: 11.98 kB / 1.178 GB, free: 79.32 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.697e-05/1.715, allocations: 39.97 kB / 1.178 GB, free: 79.28 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001047/1.715, allocations: 71.31 kB / 1.178 GB, free: 79.2 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.523e-06/1.715, allocations: 0 / 1.178 GB, free: 79.2 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/1.715, allocations: 0 / 1.178 GB, free: 79.2 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/1.715, allocations: 7.922 kB / 1.178 GB, free: 79.19 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001765/1.716, allocations: 179 kB / 1.178 GB, free: 78.97 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000266/1.716, allocations: 121.2 kB / 1.178 GB, free: 78.84 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.131e-05/1.716, allocations: 29.86 kB / 1.178 GB, free: 78.8 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004062/1.716, allocations: 141 kB / 1.178 GB, free: 78.64 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.486e-05/1.716, allocations: 30.56 kB / 1.178 GB, free: 78.61 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.453e-06/1.716, allocations: 0 / 1.178 GB, free: 78.61 MB / 426.7 MB Notification: Performance of matching and sorting (n=6): time 0.0007944/1.717, allocations: 201.4 kB / 1.178 GB, free: 78.4 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.705e-05/1.717, allocations: 77.11 kB / 1.178 GB, free: 78.31 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.169e-05/1.717, allocations: 136.9 kB / 1.179 GB, free: 78.17 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.068e-05/1.717, allocations: 25.7 kB / 1.179 GB, free: 78.14 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.68e-05/1.717, allocations: 84.12 kB / 1.179 GB, free: 78.05 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.875e-05/1.717, allocations: 23.66 kB / 1.179 GB, free: 78.03 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.149e-06/1.717, allocations: 0 / 1.179 GB, free: 78.03 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 3.89e-05/1.717, allocations: 322.8 kB / 1.179 GB, free: 77.7 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.851e-05/1.717, allocations: 19.98 kB / 1.179 GB, free: 77.68 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.84e-05/1.717, allocations: 55.39 kB / 1.179 GB, free: 77.62 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005656/1.718, allocations: 135.8 kB / 1.179 GB, free: 77.48 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/1.718, allocations: 0 / 1.179 GB, free: 77.48 MB / 426.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006841/1.719, allocations: 213.3 kB / 1.179 GB, free: 77.27 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/1.719, allocations: 4 kB / 1.179 GB, free: 77.27 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/1.719, allocations: 4 kB / 1.179 GB, free: 77.26 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/1.719, allocations: 0 / 1.179 GB, free: 77.26 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.2e-05/1.719, allocations: 15.94 kB / 1.179 GB, free: 77.25 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/1.719, allocations: 12.05 kB / 1.179 GB, free: 77.23 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.812e-05/1.719, allocations: 7.844 kB / 1.179 GB, free: 77.23 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.322e-05/1.719, allocations: 8 kB / 1.179 GB, free: 77.22 MB / 426.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.542e-05/1.719, allocations: 101 kB / 1.179 GB, free: 77.11 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.058e-05/1.719, allocations: 7.906 kB / 1.18 GB, free: 77.11 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007276/1.72, allocations: 237.8 kB / 1.18 GB, free: 76.87 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/1.72, allocations: 8.281 kB / 1.18 GB, free: 76.86 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/1.72, allocations: 0 / 1.18 GB, free: 76.86 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/1.72, allocations: 4 kB / 1.18 GB, free: 76.86 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001023/1.72, allocations: 166.1 kB / 1.18 GB, free: 76.66 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.776e-06/1.72, allocations: 3.984 kB / 1.18 GB, free: 76.65 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.135e-05/1.72, allocations: 15.98 kB / 1.18 GB, free: 76.64 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.614e-06/1.72, allocations: 0 / 1.18 GB, free: 76.64 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.271e-05/1.72, allocations: 4 kB / 1.18 GB, free: 76.63 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/1.72, allocations: 0 / 1.18 GB, free: 76.63 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/1.72, allocations: 0 / 1.18 GB, free: 76.63 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007463/1.721, allocations: 291.2 kB / 1.18 GB, free: 76.32 MB / 426.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0008559/1.722, allocations: 0.7031 MB / 1.181 GB, free: 75.59 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.254e-05/1.722, allocations: 100.9 kB / 1.181 GB, free: 75.47 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.612e-05/1.722, allocations: 8.109 kB / 1.181 GB, free: 75.46 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.201e-05/1.722, allocations: 0 / 1.181 GB, free: 75.46 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.044e-05/1.722, allocations: 7.906 kB / 1.181 GB, free: 75.45 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.028e-05/1.722, allocations: 7.984 kB / 1.181 GB, free: 75.45 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.398e-05/1.722, allocations: 115.2 kB / 1.181 GB, free: 75.33 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001608/1.724, allocations: 331.6 kB / 1.181 GB, free: 75.01 MB / 426.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.002135/1.726, allocations: 1.083 MB / 1.182 GB, free: 73.92 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001213/1.726, allocations: 51.98 kB / 1.183 GB, free: 73.87 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/1.726, allocations: 4.125 kB / 1.183 GB, free: 73.86 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 3.363e-05/1.726, allocations: 31.92 kB / 1.183 GB, free: 73.83 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002163/1.726, allocations: 15.98 kB / 1.183 GB, free: 73.82 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004072/1.727, allocations: 226.4 kB / 1.183 GB, free: 73.57 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001712/1.727, allocations: 0.7071 MB / 1.183 GB, free: 72.84 MB / 426.7 MB Notification: Performance of SimCode: time 3.2e-07/1.727, allocations: 0 / 1.183 GB, free: 72.84 MB / 426.7 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_TX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_TX.fmu > Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe 2>&1)