Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.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_TX,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_TX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX,fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.0009926/0.0009926, allocations: 201.2 kB / 8.538 MB, free: 1.82 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.178/1.178, allocations: 225.5 MB / 234.4 MB, free: 3.391 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009033/0.0009033, allocations: 95.17 kB / 286.3 MB, free: 5.246 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.09744/0.09838, allocations: 56.9 MB / 343.2 MB, free: 8.641 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08493/0.1833, allocations: 51.46 MB / 394.7 MB, free: 5.121 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.094/1.277, allocations: 0.715 GB / 1.1 GB, free: 1.277 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000245/1.277, allocations: 73.83 kB / 1.1 GB, free: 1.238 MB / 458.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.2766/1.554, allocations: 68.58 MB / 1.167 GB, free: 128.2 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/1.554, allocations: 12 kB / 1.167 GB, free: 128.2 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003674/1.554, allocations: 55.81 kB / 1.168 GB, free: 128.2 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001541/1.555, allocations: 190.9 kB / 1.168 GB, free: 128 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.547e-05/1.555, allocations: 7.906 kB / 1.168 GB, free: 127.9 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.946e-05/1.555, allocations: 3.938 kB / 1.168 GB, free: 127.9 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.092e-05/1.555, allocations: 47.95 kB / 1.168 GB, free: 127.9 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.067e-05/1.555, allocations: 75.38 kB / 1.168 GB, free: 127.8 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.064e-06/1.555, allocations: 0 / 1.168 GB, free: 127.8 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.025e-05/1.555, allocations: 4 kB / 1.168 GB, free: 127.8 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/1.555, allocations: 0 / 1.168 GB, free: 127.8 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001593/1.555, allocations: 167.1 kB / 1.168 GB, free: 127.6 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002577/1.555, allocations: 121.2 kB / 1.168 GB, free: 127.5 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.153e-05/1.555, allocations: 29.8 kB / 1.168 GB, free: 127.4 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003789/1.556, allocations: 223.6 kB / 1.168 GB, free: 127.2 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.421e-05/1.556, allocations: 42.56 kB / 1.168 GB, free: 127.1 MB / 458.7 MB Notification: Performance of pre-optimization done (n=6): time 1.904e-06/1.556, allocations: 0 / 1.168 GB, free: 127.1 MB / 458.7 MB Notification: Performance of matching and sorting (n=6): time 0.001188/1.557, allocations: 305.2 kB / 1.169 GB, free: 126.8 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.248e-05/1.557, allocations: 77.11 kB / 1.169 GB, free: 126.7 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.7e-05/1.557, allocations: 125 kB / 1.169 GB, free: 126.6 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 9.678e-06/1.557, allocations: 25.7 kB / 1.169 GB, free: 126.6 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.296e-05/1.557, allocations: 88.14 kB / 1.169 GB, free: 126.5 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.865e-05/1.557, allocations: 23.64 kB / 1.169 GB, free: 126.5 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.03e-06/1.557, allocations: 0 / 1.169 GB, free: 126.5 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 4.256e-05/1.557, allocations: 318.8 kB / 1.169 GB, free: 126.1 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.865e-05/1.557, allocations: 23.98 kB / 1.169 GB, free: 126.1 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.354e-05/1.557, allocations: 58.16 kB / 1.169 GB, free: 126 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007811/1.558, allocations: 215.8 kB / 1.17 GB, free: 125.8 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/1.558, allocations: 0 / 1.17 GB, free: 125.8 MB / 458.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0009014/1.559, allocations: 297.2 kB / 1.17 GB, free: 125.5 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/1.559, allocations: 5.5 kB / 1.17 GB, free: 125.5 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/1.559, allocations: 0 / 1.17 GB, free: 125.5 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.11e-05/1.559, allocations: 4 kB / 1.17 GB, free: 125.5 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.191e-05/1.559, allocations: 16 kB / 1.17 GB, free: 125.5 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.8e-06/1.559, allocations: 5.938 kB / 1.17 GB, free: 125.5 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.164e-05/1.559, allocations: 7.906 kB / 1.17 GB, free: 125.5 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.881e-05/1.559, allocations: 4 kB / 1.17 GB, free: 125.5 MB / 458.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.68e-05/1.559, allocations: 108.9 kB / 1.17 GB, free: 125.4 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.431e-05/1.559, allocations: 15.91 kB / 1.17 GB, free: 125.4 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009448/1.56, allocations: 321.6 kB / 1.17 GB, free: 125 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/1.56, allocations: 4 kB / 1.17 GB, free: 125 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/1.56, allocations: 0 / 1.17 GB, free: 125 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/1.56, allocations: 0 / 1.17 GB, free: 125 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.945e-05/1.56, allocations: 158.1 kB / 1.171 GB, free: 124.9 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/1.56, allocations: 0 / 1.171 GB, free: 124.9 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.016e-05/1.561, allocations: 15.98 kB / 1.171 GB, free: 124.8 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/1.561, allocations: 3 kB / 1.171 GB, free: 124.8 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.182e-05/1.561, allocations: 4 kB / 1.171 GB, free: 124.8 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/1.561, allocations: 4 kB / 1.171 GB, free: 124.8 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/1.561, allocations: 0 / 1.171 GB, free: 124.8 MB / 458.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009497/1.562, allocations: 363.2 kB / 1.171 GB, free: 124.4 MB / 458.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001076/1.563, allocations: 0.7889 MB / 1.172 GB, free: 123.6 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.527e-05/1.563, allocations: 101 kB / 1.172 GB, free: 123.5 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.41e-05/1.563, allocations: 0 / 1.172 GB, free: 123.5 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.209e-05/1.563, allocations: 0 / 1.172 GB, free: 123.5 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.869e-05/1.563, allocations: 11.89 kB / 1.172 GB, free: 123.5 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.073e-05/1.563, allocations: 4 kB / 1.172 GB, free: 123.5 MB / 458.7 MB Notification: Performance of sort global known variables: time 4.937e-05/1.563, allocations: 111.3 kB / 1.172 GB, free: 123.4 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001338/1.564, allocations: 283.8 kB / 1.172 GB, free: 123.1 MB / 458.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.001669/1.566, allocations: 0.9279 MB / 1.173 GB, free: 122.3 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001053/1.566, allocations: 55.92 kB / 1.173 GB, free: 122.2 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/1.566, allocations: 8 kB / 1.173 GB, free: 122.2 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 3.068e-05/1.566, allocations: 24.27 kB / 1.173 GB, free: 122.2 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002088/1.566, allocations: 19.5 kB / 1.173 GB, free: 122.2 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000349/1.567, allocations: 229.2 kB / 1.173 GB, free: 121.9 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001571/1.567, allocations: 0.711 MB / 1.174 GB, free: 121.2 MB / 458.7 MB Notification: Performance of SimCode: time 7.61e-07/1.567, allocations: 4 kB / 1.174 GB, free: 121.2 MB / 458.7 MB (rm -f Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX_res.mat --tempDir=temp_Modelica_trunk_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_TX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_TX.fmu > Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe 2>&1)