Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.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.ReferenceAir.Inverse_sh_TX,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_ReferenceAir_Inverse_sh_TX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX,fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.001431/0.001431, allocations: 198.4 kB / 8.54 MB, free: 1.832 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.216/1.216, 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.001/0.001, allocations: 89.69 kB / 286.3 MB, free: 5.281 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1394/0.1404, allocations: 56.89 MB / 343.2 MB, free: 8.59 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1335/0.274, allocations: 51.47 MB / 394.7 MB, free: 5.066 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.95/11.22, allocations: 6.137 GB / 6.523 GB, free: 90.81 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002259/11.22, allocations: 76.33 kB / 6.523 GB, free: 90.79 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.6027/11.83, allocations: 190.3 MB / 6.709 GB, free: 57.83 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/11.83, allocations: 8.969 kB / 6.709 GB, free: 57.83 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.152e-05/11.83, allocations: 7 kB / 6.709 GB, free: 57.83 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001843/11.83, allocations: 193.9 kB / 6.709 GB, free: 57.62 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.52e-05/11.83, allocations: 0 / 6.709 GB, free: 57.62 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.374e-05/11.83, allocations: 5.125 kB / 6.709 GB, free: 57.62 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.957e-05/11.83, allocations: 37.27 kB / 6.709 GB, free: 57.61 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001124/11.83, allocations: 69.62 kB / 6.709 GB, free: 57.55 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.378e-06/11.83, allocations: 3.125 kB / 6.709 GB, free: 57.55 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.469e-05/11.83, allocations: 0 / 6.709 GB, free: 57.55 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/11.83, allocations: 0 / 6.709 GB, free: 57.55 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001753/11.83, allocations: 155.4 kB / 6.709 GB, free: 57.39 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002679/11.83, allocations: 104 kB / 6.709 GB, free: 57.32 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.453e-05/11.83, allocations: 27.34 kB / 6.709 GB, free: 57.31 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.734e-05/11.83, allocations: 10.06 kB / 6.709 GB, free: 57.31 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.902e-05/11.83, allocations: 37.72 kB / 6.709 GB, free: 57.27 MB / 442.7 MB Notification: Performance of pre-optimization done (n=6): time 1.763e-06/11.83, allocations: 4 kB / 6.709 GB, free: 57.26 MB / 442.7 MB Notification: Performance of matching and sorting (n=6): time 0.0007823/11.83, allocations: 176.1 kB / 6.709 GB, free: 57.21 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.203e-05/11.83, allocations: 77.11 kB / 6.709 GB, free: 57.12 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.691e-05/11.83, allocations: 121.8 kB / 6.71 GB, free: 57.02 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.186e-05/11.83, allocations: 25.7 kB / 6.71 GB, free: 56.99 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.519e-05/11.83, allocations: 88.14 kB / 6.71 GB, free: 56.9 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.745e-05/11.83, allocations: 23.14 kB / 6.71 GB, free: 56.88 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.32e-06/11.83, allocations: 3.938 kB / 6.71 GB, free: 56.88 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 4.779e-05/11.83, allocations: 322.7 kB / 6.71 GB, free: 56.56 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.027e-05/11.83, allocations: 12.31 kB / 6.71 GB, free: 56.56 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.323e-05/11.83, allocations: 29.2 kB / 6.71 GB, free: 56.54 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005148/11.83, allocations: 116.5 kB / 6.71 GB, free: 56.53 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/11.83, allocations: 0 / 6.71 GB, free: 56.53 MB / 442.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0005765/11.83, allocations: 176.3 kB / 6.71 GB, free: 56.48 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/11.83, allocations: 6.25 kB / 6.71 GB, free: 56.48 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/11.83, allocations: 3.469 kB / 6.71 GB, free: 56.48 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/11.83, allocations: 2.312 kB / 6.71 GB, free: 56.48 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.774e-05/11.83, allocations: 17.06 kB / 6.71 GB, free: 56.48 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/11.83, allocations: 0 / 6.71 GB, free: 56.48 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.843e-05/11.83, allocations: 6.969 kB / 6.71 GB, free: 56.47 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.951e-05/11.83, allocations: 7.297 kB / 6.71 GB, free: 56.47 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.836e-05/11.83, allocations: 104.9 kB / 6.71 GB, free: 56.36 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.856e-05/11.83, allocations: 7.875 kB / 6.71 GB, free: 56.36 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006489/11.83, allocations: 196.4 kB / 6.711 GB, free: 56.31 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/11.83, allocations: 0 / 6.711 GB, free: 56.31 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/11.83, allocations: 6.594 kB / 6.711 GB, free: 56.31 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/11.83, allocations: 0 / 6.711 GB, free: 56.31 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.697e-05/11.83, allocations: 153.2 kB / 6.711 GB, free: 56.14 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/11.83, allocations: 0 / 6.711 GB, free: 56.14 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.549e-05/11.83, allocations: 21.23 kB / 6.711 GB, free: 56.14 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/11.83, allocations: 0 / 6.711 GB, free: 56.14 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.838e-06/11.83, allocations: 2.906 kB / 6.711 GB, free: 56.14 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/11.83, allocations: 0 / 6.711 GB, free: 56.14 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/11.83, allocations: 1.875 kB / 6.711 GB, free: 56.14 MB / 442.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005807/11.83, allocations: 223.4 kB / 6.711 GB, free: 56.03 MB / 442.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0007858/11.83, allocations: 0.6431 MB / 6.712 GB, free: 55.49 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.065e-05/11.83, allocations: 107.5 kB / 6.712 GB, free: 55.38 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.236e-05/11.83, allocations: 2.969 kB / 6.712 GB, free: 55.38 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.088e-05/11.83, allocations: 0 / 6.712 GB, free: 55.38 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.56e-05/11.83, allocations: 6.75 kB / 6.712 GB, free: 55.38 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.201e-05/11.83, allocations: 7.875 kB / 6.712 GB, free: 55.38 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.461e-05/11.83, allocations: 103.3 kB / 6.712 GB, free: 55.29 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004965/11.84, allocations: 1.147 MB / 6.713 GB, free: 54.91 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.006929/11.85, allocations: 1.592 MB / 6.715 GB, free: 54.48 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001077/11.85, allocations: 35.61 kB / 6.715 GB, free: 54.47 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/11.85, allocations: 3.031 kB / 6.715 GB, free: 54.47 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 3.514e-05/11.85, allocations: 27.62 kB / 6.715 GB, free: 54.46 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001856/11.85, allocations: 15.8 kB / 6.715 GB, free: 54.46 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000301/11.85, allocations: 108.6 kB / 6.715 GB, free: 54.38 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000151/11.85, allocations: 0.705 MB / 6.715 GB, free: 53.68 MB / 442.7 MB Notification: Performance of SimCode: time 3.81e-07/11.85, allocations: 0 / 6.715 GB, free: 53.68 MB / 442.7 MB (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX_res.mat --tempDir=temp_Modelica_trunk_Modelica_Media_Examples_ReferenceAir_Inverse_sh_TX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Media_Examples_ReferenceAir_Inverse_sh_TX.fmu > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe 2>&1)