Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.MoistAir.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.MoistAir,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.MoistAir,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_MoistAir",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.00112/0.00112, allocations: 209.3 kB / 8.541 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.164/1.164, allocations: 225.5 MB / 234.4 MB, free: 3.488 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000892/0.0008921, allocations: 96.78 kB / 286.3 MB, free: 5.148 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.09768/0.0986, allocations: 56.88 MB / 343.2 MB, free: 8.695 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09058/0.1892, allocations: 51.47 MB / 394.7 MB, free: 5.168 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.513/5.702, allocations: 3.33 GB / 3.715 GB, free: 45.96 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002049/5.702, allocations: 63.97 kB / 3.715 GB, free: 45.89 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.2955/5.998, allocations: 48.98 MB / 3.763 GB, free: 104.7 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/5.998, allocations: 7.656 kB / 3.763 GB, free: 104.7 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000136/5.998, allocations: 19.88 kB / 3.763 GB, free: 104.7 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002199/5.998, allocations: 207.8 kB / 3.763 GB, free: 104.5 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.298e-05/5.998, allocations: 10.22 kB / 3.763 GB, free: 104.5 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.229e-05/5.998, allocations: 10.5 kB / 3.763 GB, free: 104.5 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003722/5.999, allocations: 208 kB / 3.763 GB, free: 104.5 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003091/5.999, allocations: 220.1 kB / 3.764 GB, free: 104.5 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.358e-05/5.999, allocations: 3.781 kB / 3.764 GB, free: 104.5 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.953e-05/5.999, allocations: 2.906 kB / 3.764 GB, free: 104.5 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.154e-05/5.999, allocations: 10.12 kB / 3.764 GB, free: 104.5 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001205/6, allocations: 0.6422 MB / 3.764 GB, free: 104.1 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003159/6.001, allocations: 181.1 kB / 3.764 GB, free: 104.1 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001417/6.001, allocations: 110.3 kB / 3.764 GB, free: 104.1 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002836/6.001, allocations: 360.5 kB / 3.765 GB, free: 103.7 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.281e-05/6.001, allocations: 39.28 kB / 3.765 GB, free: 103.6 MB / 442.7 MB Notification: Performance of pre-optimization done (n=29): time 1.864e-06/6.001, allocations: 0 / 3.765 GB, free: 103.6 MB / 442.7 MB Notification: Performance of matching and sorting (n=36): time 0.001616/6.003, allocations: 500 kB / 3.765 GB, free: 103.6 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.136e-05/6.003, allocations: 87.58 kB / 3.765 GB, free: 103.5 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.609e-05/6.003, allocations: 118.5 kB / 3.766 GB, free: 103.4 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.224e-05/6.003, allocations: 25.7 kB / 3.766 GB, free: 103.4 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.75e-05/6.003, allocations: 103.2 kB / 3.766 GB, free: 103.3 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.546e-05/6.003, allocations: 124.2 kB / 3.766 GB, free: 103.2 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.114e-05/6.003, allocations: 0 / 3.766 GB, free: 103.2 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.409e-05/6.003, allocations: 324.3 kB / 3.766 GB, free: 102.9 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001718/6.003, allocations: 105.7 kB / 3.766 GB, free: 102.9 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002081/6.003, allocations: 173.8 kB / 3.766 GB, free: 102.8 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003035/6.004, allocations: 142.5 kB / 3.766 GB, free: 102.8 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/6.004, allocations: 3.031 kB / 3.766 GB, free: 102.8 MB / 442.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0006175/6.004, allocations: 349.9 kB / 3.767 GB, free: 102.8 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.224e-05/6.004, allocations: 7.719 kB / 3.767 GB, free: 102.8 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/6.004, allocations: 0 / 3.767 GB, free: 102.8 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/6.004, allocations: 7.812 kB / 3.767 GB, free: 102.8 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005045/6.005, allocations: 93.36 kB / 3.767 GB, free: 102.8 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/6.005, allocations: 3.938 kB / 3.767 GB, free: 102.8 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003342/6.005, allocations: 22.62 kB / 3.767 GB, free: 102.8 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.204e-05/6.005, allocations: 19.09 kB / 3.767 GB, free: 102.8 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 43 * 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 8.703e-05/6.005, allocations: 116.6 kB / 3.767 GB, free: 102.7 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.569e-05/6.006, allocations: 18.91 kB / 3.767 GB, free: 102.7 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000465/6.006, allocations: 187 kB / 3.767 GB, free: 102.6 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/6.006, allocations: 8.5 kB / 3.767 GB, free: 102.6 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/6.006, allocations: 0 / 3.767 GB, free: 102.6 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/6.006, allocations: 3.234 kB / 3.767 GB, free: 102.6 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001042/6.007, allocations: 0.6487 MB / 3.768 GB, free: 102.3 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/6.007, allocations: 3.719 kB / 3.768 GB, free: 102.3 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004609/6.008, allocations: 78 kB / 3.768 GB, free: 102.3 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.929e-06/6.008, allocations: 6.406 kB / 3.768 GB, free: 102.3 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.217e-05/6.008, allocations: 3.906 kB / 3.768 GB, free: 102.3 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.598e-06/6.008, allocations: 10.14 kB / 3.768 GB, free: 102.3 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/6.008, allocations: 5.156 kB / 3.768 GB, free: 102.3 MB / 442.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007739/6.008, allocations: 0.7038 MB / 3.769 GB, free: 102 MB / 442.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001026/6.009, allocations: 1.244 MB / 3.77 GB, free: 101.2 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001051/6.01, allocations: 115.2 kB / 3.77 GB, free: 101.1 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.962e-05/6.01, allocations: 3.812 kB / 3.77 GB, free: 101.1 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003942/6.01, allocations: 18.64 kB / 3.77 GB, free: 101.1 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.863e-05/6.01, allocations: 20.75 kB / 3.77 GB, free: 101.1 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.632e-05/6.01, allocations: 19.78 kB / 3.77 GB, free: 101.1 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.968e-05/6.01, allocations: 99.03 kB / 3.77 GB, free: 101 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001399/6.012, allocations: 241.3 kB / 3.77 GB, free: 101 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (medium.p,medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 38 * 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.0009589/6.013, allocations: 0.7608 MB / 3.771 GB, free: 100.9 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0004134/6.013, allocations: 284.5 kB / 3.771 GB, free: 100.9 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/6.013, allocations: 0 / 3.771 GB, free: 100.9 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001808/6.013, allocations: 146 kB / 3.772 GB, free: 100.9 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005679/6.014, allocations: 84.05 kB / 3.772 GB, free: 100.9 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001067/6.015, allocations: 458.7 kB / 3.772 GB, free: 100.7 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003446/6.015, allocations: 0.7899 MB / 3.773 GB, free: 100 MB / 442.7 MB Notification: Performance of SimCode: time 3.11e-07/6.015, allocations: 1.875 kB / 3.773 GB, free: 100 MB / 442.7 MB (rm -f Modelica_trunk_Modelica.Media.Examples.MoistAir.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.MoistAir.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.MoistAir.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.MoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Media.Examples.MoistAir_res.mat --tempDir=temp_Modelica_trunk_Modelica_Media_Examples_MoistAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-05 Modelica_trunk_Modelica_Media_Examples_MoistAir.fmu > Modelica_trunk_Modelica.Media.Examples.MoistAir.pipe 2>&1)