Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.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.ReferenceAir.Inverse_sh_T,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_ReferenceAir_Inverse_sh_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_ReferenceAir_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.001821/0.001821, allocations: 195.2 kB / 8.537 MB, free: 1.824 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.196/1.196, allocations: 225.5 MB / 234.4 MB, free: 3.297 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009546/0.0009545, allocations: 95.95 kB / 286.3 MB, free: 5.293 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1058/0.1068, allocations: 56.89 MB / 343.2 MB, free: 8.586 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0918/0.1986, allocations: 51.47 MB / 394.7 MB, free: 5.066 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.019/1.218, allocations: 0.5424 GB / 0.9278 GB, free: 134.7 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002227/1.218, allocations: 75.41 kB / 0.9279 GB, free: 134.7 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.1705/1.389, allocations: 114.5 MB / 1.04 GB, free: 46.54 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.327e-05/1.389, allocations: 8 kB / 1.04 GB, free: 46.53 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001127/1.389, allocations: 14.8 kB / 1.04 GB, free: 46.52 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000117/1.389, allocations: 178.9 kB / 1.04 GB, free: 46.3 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.434e-05/1.389, allocations: 4 kB / 1.04 GB, free: 46.3 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.07e-05/1.389, allocations: 4 kB / 1.04 GB, free: 46.3 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.535e-05/1.389, allocations: 19.98 kB / 1.04 GB, free: 46.28 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.262e-05/1.389, allocations: 59.34 kB / 1.04 GB, free: 46.21 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.773e-06/1.389, allocations: 0 / 1.04 GB, free: 46.21 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.23e-05/1.389, allocations: 3.906 kB / 1.04 GB, free: 46.2 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/1.389, allocations: 3.281 kB / 1.04 GB, free: 46.2 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000128/1.39, allocations: 151.1 kB / 1.04 GB, free: 46.02 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002/1.39, allocations: 77.27 kB / 1.04 GB, free: 45.92 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.237e-05/1.39, allocations: 21.78 kB / 1.04 GB, free: 45.89 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07558/1.465, allocations: 36.09 MB / 1.075 GB, free: 6.383 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.153e-05/1.465, allocations: 30.56 kB / 1.076 GB, free: 6.344 MB / 442.7 MB Notification: Performance of pre-optimization done (n=6): time 2.384e-06/1.465, allocations: 4 kB / 1.076 GB, free: 6.34 MB / 442.7 MB Notification: Performance of matching and sorting (n=6): time 0.00109/1.466, allocations: 165.4 kB / 1.076 GB, free: 6.172 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.149e-05/1.467, allocations: 77.11 kB / 1.076 GB, free: 6.078 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.968e-05/1.467, allocations: 113 kB / 1.076 GB, free: 5.961 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.101e-05/1.467, allocations: 27.02 kB / 1.076 GB, free: 5.93 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.097e-05/1.467, allocations: 84.08 kB / 1.076 GB, free: 5.844 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.441e-05/1.467, allocations: 23.66 kB / 1.076 GB, free: 5.82 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.408e-06/1.467, allocations: 0 / 1.076 GB, free: 5.82 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 5.59e-05/1.467, allocations: 314.8 kB / 1.076 GB, free: 5.504 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.644e-05/1.467, allocations: 12 kB / 1.076 GB, free: 5.492 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.609e-05/1.467, allocations: 17.72 kB / 1.076 GB, free: 5.469 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008098/1.468, allocations: 107.8 kB / 1.076 GB, free: 5.363 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/1.468, allocations: 0 / 1.076 GB, free: 5.363 MB / 442.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0008937/1.469, allocations: 157.5 kB / 1.077 GB, free: 5.203 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.232e-05/1.469, allocations: 8 kB / 1.077 GB, free: 5.195 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/1.469, allocations: 0 / 1.077 GB, free: 5.195 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.011e-05/1.469, allocations: 0 / 1.077 GB, free: 5.195 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.361e-05/1.469, allocations: 11.98 kB / 1.077 GB, free: 5.184 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/1.469, allocations: 5.25 kB / 1.077 GB, free: 5.18 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.911e-05/1.469, allocations: 4 kB / 1.077 GB, free: 5.176 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.232e-05/1.469, allocations: 7.938 kB / 1.077 GB, free: 5.168 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.379e-05/1.469, allocations: 108.9 kB / 1.077 GB, free: 5.055 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.574e-05/1.469, allocations: 19.89 kB / 1.077 GB, free: 5.035 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009474/1.47, allocations: 203.5 kB / 1.077 GB, free: 4.828 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/1.47, allocations: 0 / 1.077 GB, free: 4.828 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/1.47, allocations: 0 / 1.077 GB, free: 4.828 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/1.47, allocations: 0 / 1.077 GB, free: 4.828 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.123e-05/1.47, allocations: 146.1 kB / 1.077 GB, free: 4.648 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/1.47, allocations: 0 / 1.077 GB, free: 4.648 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.4e-05/1.47, allocations: 15.98 kB / 1.077 GB, free: 4.633 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/1.47, allocations: 1.875 kB / 1.077 GB, free: 4.633 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.744e-06/1.47, allocations: 0 / 1.077 GB, free: 4.633 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/1.47, allocations: 0 / 1.077 GB, free: 4.633 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/1.47, allocations: 8 kB / 1.077 GB, free: 4.625 MB / 442.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009099/1.471, allocations: 196.5 kB / 1.077 GB, free: 4.406 MB / 442.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0009509/1.472, allocations: 0.6014 MB / 1.078 GB, free: 3.773 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.261e-05/1.472, allocations: 96.98 kB / 1.078 GB, free: 3.66 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.811e-05/1.472, allocations: 0 / 1.078 GB, free: 3.66 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.961e-05/1.472, allocations: 4 kB / 1.078 GB, free: 3.656 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.999e-05/1.472, allocations: 3.984 kB / 1.078 GB, free: 3.652 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.209e-05/1.472, allocations: 8 kB / 1.078 GB, free: 3.645 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.017e-05/1.472, allocations: 98.02 kB / 1.078 GB, free: 3.551 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001465/1.474, allocations: 391.4 kB / 1.078 GB, free: 3.168 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.001817/1.476, allocations: 0.8086 MB / 1.079 GB, free: 2.355 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 8.773e-05/1.476, allocations: 23.98 kB / 1.079 GB, free: 2.332 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/1.476, allocations: 4 kB / 1.079 GB, free: 2.328 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 2.992e-05/1.476, allocations: 15.94 kB / 1.079 GB, free: 2.312 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001321/1.476, allocations: 9.781 kB / 1.079 GB, free: 2.305 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002631/1.476, allocations: 87.61 kB / 1.079 GB, free: 2.199 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001464/1.476, allocations: 0.7266 MB / 1.08 GB, free: 1.449 MB / 442.7 MB Notification: Performance of SimCode: time 2.81e-07/1.476, allocations: 0 / 1.08 GB, free: 1.449 MB / 442.7 MB (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T_res.mat --tempDir=temp_Modelica_trunk_Modelica_Media_Examples_ReferenceAir_Inverse_sh_T_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Media_Examples_ReferenceAir_Inverse_sh_T.fmu > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T_res.mat does not exist to compare? outputFormat=mat