Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.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.ReferenceAir.Inverse_sh_TX,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_Inverse_sh_TX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_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 4.0.0+maint.om/package.mo): time 0.0009829/0.0009831, allocations: 184.6 kB / 8.138 MB, free: 2.211 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.103/1.103, allocations: 221.4 MB / 230 MB, free: 3.223 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.000975/0.0009751, allocations: 97.64 kB / 280.8 MB, free: 1.262 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1037/0.1047, allocations: 55.82 MB / 336.6 MB, free: 9.41 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2109/0.3156, allocations: 50.38 MB / 387 MB, free: 38.02 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.189/9.505, allocations: 6.136 GB / 6.514 GB, free: 112.2 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002201/9.505, allocations: 79.61 kB / 6.514 GB, free: 112.2 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.5697/10.07, allocations: 190.5 MB / 6.7 GB, free: 76.18 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.691e-05/10.07, allocations: 8.781 kB / 6.7 GB, free: 76.18 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.149e-05/10.07, allocations: 6.219 kB / 6.7 GB, free: 76.18 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001728/10.08, allocations: 189.4 kB / 6.701 GB, free: 75.97 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.591e-05/10.08, allocations: 5.609 kB / 6.701 GB, free: 75.97 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.159e-05/10.08, allocations: 3.938 kB / 6.701 GB, free: 75.97 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.851e-05/10.08, allocations: 29.23 kB / 6.701 GB, free: 75.97 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.325e-05/10.08, allocations: 76.25 kB / 6.701 GB, free: 75.91 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.793e-06/10.08, allocations: 0 / 6.701 GB, free: 75.91 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.291e-05/10.08, allocations: 0 / 6.701 GB, free: 75.91 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/10.08, allocations: 10.83 kB / 6.701 GB, free: 75.91 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001459/10.08, allocations: 165 kB / 6.701 GB, free: 75.73 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002402/10.08, allocations: 90.83 kB / 6.701 GB, free: 75.68 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.12e-05/10.08, allocations: 30.59 kB / 6.701 GB, free: 75.66 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.257e-05/10.08, allocations: 18.72 kB / 6.701 GB, free: 75.65 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.531e-05/10.08, allocations: 34.5 kB / 6.701 GB, free: 75.61 MB / 442.7 MB Notification: Performance of pre-optimization done (n=6): time 1.292e-06/10.08, allocations: 0 / 6.701 GB, free: 75.61 MB / 442.7 MB Notification: Performance of matching and sorting (n=6): time 0.0006786/10.08, allocations: 167.8 kB / 6.701 GB, free: 75.57 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.326e-05/10.08, allocations: 86.36 kB / 6.701 GB, free: 75.47 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001007/10.08, allocations: 127.1 kB / 6.701 GB, free: 75.36 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.221e-05/10.08, allocations: 25.7 kB / 6.701 GB, free: 75.33 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.454e-05/10.08, allocations: 81.52 kB / 6.702 GB, free: 75.25 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.981e-05/10.08, allocations: 18.69 kB / 6.702 GB, free: 75.23 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.202e-06/10.08, allocations: 0 / 6.702 GB, free: 75.23 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 4.505e-05/10.08, allocations: 323.6 kB / 6.702 GB, free: 74.92 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.46e-05/10.08, allocations: 14.61 kB / 6.702 GB, free: 74.92 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.409e-05/10.08, allocations: 34.48 kB / 6.702 GB, free: 74.89 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004949/10.08, allocations: 108.4 kB / 6.702 GB, free: 74.89 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/10.08, allocations: 0 / 6.702 GB, free: 74.89 MB / 442.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0005624/10.08, allocations: 175.6 kB / 6.702 GB, free: 74.84 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.018e-05/10.08, allocations: 5.125 kB / 6.702 GB, free: 74.84 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/10.08, allocations: 2.625 kB / 6.702 GB, free: 74.84 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/10.08, allocations: 0 / 6.702 GB, free: 74.84 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.308e-05/10.08, allocations: 12.86 kB / 6.702 GB, free: 74.84 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/10.08, allocations: 4.094 kB / 6.702 GB, free: 74.84 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.331e-05/10.08, allocations: 11.34 kB / 6.702 GB, free: 74.84 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.773e-05/10.08, allocations: 1.719 kB / 6.702 GB, free: 74.84 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 4.903e-05/10.08, allocations: 106.3 kB / 6.702 GB, free: 74.73 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.113e-05/10.08, allocations: 13.31 kB / 6.702 GB, free: 74.72 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006419/10.08, allocations: 202.8 kB / 6.703 GB, free: 74.66 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/10.08, allocations: 0 / 6.703 GB, free: 74.66 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/10.08, allocations: 3.938 kB / 6.703 GB, free: 74.66 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/10.08, allocations: 0 / 6.703 GB, free: 74.66 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.34e-05/10.08, allocations: 156.5 kB / 6.703 GB, free: 74.5 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/10.08, allocations: 4 kB / 6.703 GB, free: 74.49 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.259e-05/10.08, allocations: 11.55 kB / 6.703 GB, free: 74.49 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/10.08, allocations: 1.344 kB / 6.703 GB, free: 74.49 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.248e-06/10.08, allocations: 1.719 kB / 6.703 GB, free: 74.49 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/10.08, allocations: 0 / 6.703 GB, free: 74.49 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/10.08, allocations: 6.156 kB / 6.703 GB, free: 74.49 MB / 442.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005917/10.08, allocations: 217.2 kB / 6.703 GB, free: 74.38 MB / 442.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0007872/10.08, allocations: 0.6391 MB / 6.704 GB, free: 73.85 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.952e-05/10.08, allocations: 95.58 kB / 6.704 GB, free: 73.75 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.245e-05/10.08, allocations: 2.094 kB / 6.704 GB, free: 73.75 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.388e-05/10.08, allocations: 11.56 kB / 6.704 GB, free: 73.74 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.884e-05/10.08, allocations: 10.91 kB / 6.704 GB, free: 73.74 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.114e-05/10.08, allocations: 9.078 kB / 6.704 GB, free: 73.73 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.671e-05/10.08, allocations: 103.8 kB / 6.704 GB, free: 73.65 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005056/10.09, allocations: 1.125 MB / 6.705 GB, free: 72.86 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * 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.006977/10.09, allocations: 1.577 MB / 6.706 GB, free: 71.55 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001352/10.09, allocations: 43.45 kB / 6.706 GB, free: 71.52 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/10.09, allocations: 4 kB / 6.706 GB, free: 71.51 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 3.451e-05/10.09, allocations: 19.94 kB / 6.706 GB, free: 71.5 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002087/10.09, allocations: 18.48 kB / 6.707 GB, free: 71.48 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000325/10.09, allocations: 101.9 kB / 6.707 GB, free: 71.38 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001574/10.09, allocations: 0.7103 MB / 6.707 GB, free: 70.65 MB / 442.7 MB Notification: Performance of SimCode: time 2.9e-07/10.09, allocations: 0 / 6.707 GB, free: 70.65 MB / 442.7 MB (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_Inverse_sh_TX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_Inverse_sh_TX.fmu > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe 2>&1)