Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.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_sh_T,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T,fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.001291/0.001291, allocations: 199.2 kB / 8.541 MB, free: 1.812 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.259/1.259, allocations: 225.5 MB / 234.4 MB, free: 3.301 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009359/0.0009359, allocations: 93.44 kB / 286.3 MB, free: 5.289 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1326/0.1335, allocations: 56.9 MB / 343.2 MB, free: 8.602 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1139/0.2475, allocations: 51.47 MB / 394.7 MB, free: 5.082 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.028/1.276, allocations: 498.4 MB / 0.8722 GB, free: 38.73 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002689/1.276, allocations: 76.7 kB / 0.8722 GB, free: 38.66 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.06579/1.342, allocations: 31.11 MB / 0.9026 GB, free: 7.516 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/1.342, allocations: 12 kB / 0.9026 GB, free: 7.504 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001244/1.343, allocations: 126.6 kB / 0.9028 GB, free: 7.383 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00019/1.343, allocations: 202.9 kB / 0.903 GB, free: 7.145 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.667e-05/1.343, allocations: 3.984 kB / 0.903 GB, free: 7.141 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.295e-05/1.343, allocations: 7.984 kB / 0.903 GB, free: 7.133 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.885e-05/1.343, allocations: 16 kB / 0.903 GB, free: 7.117 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001003/1.344, allocations: 71.31 kB / 0.9031 GB, free: 7.035 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/1.344, allocations: 0 / 0.9031 GB, free: 7.035 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.352e-05/1.344, allocations: 4 kB / 0.9031 GB, free: 7.031 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/1.344, allocations: 1.125 kB / 0.9031 GB, free: 7.031 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000187/1.344, allocations: 169.9 kB / 0.9032 GB, free: 6.828 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000301/1.344, allocations: 85.28 kB / 0.9033 GB, free: 6.727 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.664e-05/1.344, allocations: 29.72 kB / 0.9033 GB, free: 6.691 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007322/1.345, allocations: 1.635 MB / 0.9049 GB, free: 4.688 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.938e-05/1.345, allocations: 38.56 kB / 0.905 GB, free: 4.641 MB / 442.7 MB Notification: Performance of pre-optimization done (n=6): time 1.793e-06/1.345, allocations: 0 / 0.905 GB, free: 4.641 MB / 442.7 MB Notification: Performance of matching and sorting (n=6): time 0.0006029/1.346, allocations: 129.5 kB / 0.9051 GB, free: 4.508 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.387e-05/1.346, allocations: 85.03 kB / 0.9052 GB, free: 4.406 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001033/1.346, allocations: 121 kB / 0.9053 GB, free: 4.281 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.143e-05/1.346, allocations: 25.7 kB / 0.9053 GB, free: 4.25 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.345e-05/1.346, allocations: 80.14 kB / 0.9054 GB, free: 4.168 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.381e-05/1.346, allocations: 25.25 kB / 0.9054 GB, free: 4.145 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.632e-06/1.346, allocations: 4 kB / 0.9054 GB, free: 4.141 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 4.659e-05/1.346, allocations: 318.8 kB / 0.9057 GB, free: 3.82 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.349e-05/1.346, allocations: 16 kB / 0.9057 GB, free: 3.805 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.903e-05/1.346, allocations: 42.94 kB / 0.9058 GB, free: 3.754 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003866/1.346, allocations: 71.91 kB / 0.9058 GB, free: 3.684 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/1.346, allocations: 0 / 0.9058 GB, free: 3.684 MB / 442.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004824/1.347, allocations: 149.4 kB / 0.906 GB, free: 3.531 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/1.347, allocations: 4 kB / 0.906 GB, free: 3.527 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/1.347, allocations: 7.938 kB / 0.906 GB, free: 3.52 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/1.347, allocations: 0 / 0.906 GB, free: 3.52 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001313/1.347, allocations: 19.92 kB / 0.906 GB, free: 3.5 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/1.347, allocations: 4 kB / 0.906 GB, free: 3.496 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001844/1.347, allocations: 7.906 kB / 0.906 GB, free: 3.488 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.908e-05/1.347, allocations: 3.984 kB / 0.906 GB, free: 3.484 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 5.75e-05/1.347, allocations: 113 kB / 0.9061 GB, free: 3.367 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.536e-05/1.347, allocations: 7.906 kB / 0.9061 GB, free: 3.359 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005832/1.348, allocations: 174.7 kB / 0.9063 GB, free: 3.18 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.948e-06/1.348, allocations: 4 kB / 0.9063 GB, free: 3.176 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/1.348, allocations: 4 kB / 0.9063 GB, free: 3.172 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.648e-06/1.348, allocations: 0 / 0.9063 GB, free: 3.172 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001033/1.348, allocations: 154.1 kB / 0.9065 GB, free: 2.984 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/1.348, allocations: 4 kB / 0.9065 GB, free: 2.98 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001349/1.348, allocations: 11.98 kB / 0.9065 GB, free: 2.969 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.576e-06/1.348, allocations: 0 / 0.9065 GB, free: 2.969 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.592e-05/1.348, allocations: 7.984 kB / 0.9065 GB, free: 2.961 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.265e-06/1.348, allocations: 0 / 0.9065 GB, free: 2.961 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/1.348, allocations: 0 / 0.9065 GB, free: 2.961 MB / 442.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005413/1.349, allocations: 207.3 kB / 0.9067 GB, free: 2.73 MB / 442.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006465/1.349, allocations: 0.5977 MB / 0.9073 GB, free: 2.102 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.783e-05/1.35, allocations: 99.48 kB / 0.9074 GB, free: 1.988 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.835e-05/1.35, allocations: 4 kB / 0.9074 GB, free: 1.984 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001661/1.35, allocations: 4 kB / 0.9074 GB, free: 1.98 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.47e-05/1.35, allocations: 7.984 kB / 0.9074 GB, free: 1.973 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.167e-05/1.35, allocations: 4 kB / 0.9074 GB, free: 1.969 MB / 442.7 MB Notification: Performance of sort global known variables: time 5.915e-05/1.35, allocations: 103.3 kB / 0.9075 GB, free: 1.867 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001247/1.351, allocations: 227.8 kB / 0.9077 GB, free: 1.645 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.001338/1.352, allocations: 0.8117 MB / 0.9085 GB, free: 0.8477 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001273/1.353, allocations: 47.92 kB / 0.9085 GB, free: 0.8008 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/1.353, allocations: 0 / 0.9085 GB, free: 0.8008 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 4.072e-05/1.353, allocations: 19.98 kB / 0.9086 GB, free: 0.7812 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001659/1.353, allocations: 11.75 kB / 0.9086 GB, free: 0.7734 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004881/1.353, allocations: 230.7 kB / 0.9088 GB, free: 0.5273 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.1595/1.513, allocations: 0.7319 MB / 0.9095 GB, free: 162.6 MB / 442.7 MB Notification: Performance of SimCode: time 1.233e-06/1.513, allocations: 3.969 kB / 0.9095 GB, free: 162.6 MB / 442.7 MB (rm -f Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T_res.mat --tempDir=temp_Modelica_trunk_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_T_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_T.fmu > Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe 2>&1)