Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.MoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.MoistAir,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.MoistAir,fileNamePrefix="Modelica_3_2_3_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 3.2.3+maint.om/package.mo): time 0.001639/0.001639, allocations: 179.1 kB / 8.477 MB, free: 1.883 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.344/1.344, allocations: 205.2 MB / 214.1 MB, free: 5.098 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00094/0.0009401, allocations: 89.92 kB / 262.1 MB, free: 5.145 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2108/0.2118, allocations: 52.96 MB / 315 MB, free: 41.42 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09413/0.3059, allocations: 47.58 MB / 362.6 MB, free: 9.883 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.936/7.242, allocations: 3.642 GB / 3.996 GB, free: 127.4 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000259/7.242, allocations: 67.97 kB / 3.996 GB, free: 127.4 MB / 426.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.1088/7.351, allocations: 48.78 MB / 4.043 GB, free: 78.06 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.582e-05/7.351, allocations: 8 kB / 4.043 GB, free: 78.05 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001838/7.351, allocations: 23.8 kB / 4.043 GB, free: 78.03 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002528/7.351, allocations: 206.9 kB / 4.044 GB, free: 77.79 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.371e-05/7.351, allocations: 8 kB / 4.044 GB, free: 77.78 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.788e-05/7.352, allocations: 11.91 kB / 4.044 GB, free: 77.77 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003753/7.352, allocations: 212.5 kB / 4.044 GB, free: 77.56 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003336/7.352, allocations: 217.2 kB / 4.044 GB, free: 77.34 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.741e-05/7.352, allocations: 3.984 kB / 4.044 GB, free: 77.33 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.364e-05/7.352, allocations: 0 / 4.044 GB, free: 77.33 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.523e-05/7.352, allocations: 8 kB / 4.044 GB, free: 77.32 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001368/7.354, allocations: 0.645 MB / 4.045 GB, free: 76.62 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003405/7.354, allocations: 169.3 kB / 4.045 GB, free: 76.44 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001558/7.354, allocations: 113.6 kB / 4.045 GB, free: 76.32 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003379/7.355, allocations: 368.4 kB / 4.045 GB, free: 75.89 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.837e-05/7.355, allocations: 38.47 kB / 4.045 GB, free: 75.84 MB / 426.7 MB Notification: Performance of pre-optimization done (n=29): time 2.815e-06/7.355, allocations: 3.984 kB / 4.045 GB, free: 75.84 MB / 426.7 MB Notification: Performance of matching and sorting (n=36): time 0.001604/7.356, allocations: 494 kB / 4.046 GB, free: 75.35 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.997e-05/7.356, allocations: 93.23 kB / 4.046 GB, free: 75.24 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.437e-05/7.356, allocations: 117.1 kB / 4.046 GB, free: 75.12 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.092e-05/7.356, allocations: 25.7 kB / 4.046 GB, free: 75.09 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.452e-05/7.356, allocations: 108.6 kB / 4.046 GB, free: 74.98 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.179e-05/7.357, allocations: 118.2 kB / 4.046 GB, free: 74.86 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.212e-05/7.357, allocations: 0 / 4.046 GB, free: 74.86 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.469e-05/7.357, allocations: 330.8 kB / 4.047 GB, free: 74.53 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001578/7.357, allocations: 99.98 kB / 4.047 GB, free: 74.43 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001743/7.357, allocations: 179.8 kB / 4.047 GB, free: 74.23 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000292/7.357, allocations: 137.7 kB / 4.047 GB, free: 74.09 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/7.357, allocations: 7.984 kB / 4.047 GB, free: 74.09 MB / 426.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0006159/7.358, allocations: 347.4 kB / 4.047 GB, free: 73.74 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/7.358, allocations: 5.875 kB / 4.047 GB, free: 73.74 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.08e-05/7.358, allocations: 11.91 kB / 4.047 GB, free: 73.73 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.011e-05/7.358, allocations: 4 kB / 4.047 GB, free: 73.72 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005255/7.359, allocations: 88.03 kB / 4.047 GB, free: 73.64 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.729e-06/7.359, allocations: 11.98 kB / 4.047 GB, free: 73.62 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000358/7.359, allocations: 19.89 kB / 4.047 GB, free: 73.61 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.103e-05/7.359, allocations: 19.98 kB / 4.047 GB, free: 73.59 MB / 426.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 9.26e-05/7.359, allocations: 108.9 kB / 4.048 GB, free: 73.47 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.931e-05/7.359, allocations: 15.81 kB / 4.048 GB, free: 73.46 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004831/7.36, allocations: 186.2 kB / 4.048 GB, free: 73.27 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.763e-06/7.36, allocations: 4 kB / 4.048 GB, free: 73.27 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/7.36, allocations: 0 / 4.048 GB, free: 73.27 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.793e-06/7.36, allocations: 7.984 kB / 4.048 GB, free: 73.26 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001085/7.361, allocations: 0.6515 MB / 4.048 GB, free: 72.55 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/7.361, allocations: 8.141 kB / 4.048 GB, free: 72.54 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004582/7.361, allocations: 79.89 kB / 4.048 GB, free: 72.46 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.474e-06/7.361, allocations: 0 / 4.048 GB, free: 72.46 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.337e-05/7.361, allocations: 11.92 kB / 4.048 GB, free: 72.45 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.468e-06/7.361, allocations: 4 kB / 4.048 GB, free: 72.45 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.029e-06/7.361, allocations: 4 kB / 4.048 GB, free: 72.44 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007991/7.362, allocations: 0.7016 MB / 4.049 GB, free: 71.67 MB / 426.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001054/7.363, allocations: 1.241 MB / 4.05 GB, free: 70.36 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001108/7.363, allocations: 116.9 kB / 4.05 GB, free: 70.22 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.273e-05/7.363, allocations: 7.969 kB / 4.05 GB, free: 70.21 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003981/7.364, allocations: 19.92 kB / 4.051 GB, free: 70.2 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.529e-05/7.364, allocations: 27.95 kB / 4.051 GB, free: 70.17 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.244e-05/7.364, allocations: 11.98 kB / 4.051 GB, free: 70.16 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.262e-05/7.364, allocations: 99.58 kB / 4.051 GB, free: 70.06 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001379/7.365, allocations: 215.9 kB / 4.051 GB, free: 69.85 MB / 426.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.001155/7.366, allocations: 0.7531 MB / 4.052 GB, free: 69.09 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004634/7.367, allocations: 284.1 kB / 4.052 GB, free: 68.81 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/7.367, allocations: 0 / 4.052 GB, free: 68.81 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000187/7.367, allocations: 146.8 kB / 4.052 GB, free: 68.67 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005839/7.368, allocations: 82.08 kB / 4.052 GB, free: 68.59 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001144/7.369, allocations: 471 kB / 4.053 GB, free: 68.08 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003809/7.369, allocations: 0.7835 MB / 4.053 GB, free: 67.27 MB / 426.7 MB Notification: Performance of SimCode: time 3.61e-07/7.369, allocations: 3.938 kB / 4.053 GB, free: 67.27 MB / 426.7 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.MoistAir.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.MoistAir.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.MoistAir.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.MoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.MoistAir_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_MoistAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-05 Modelica_3_2_3_Modelica_Media_Examples_MoistAir.fmu > Modelica_3.2.3_Modelica.Media.Examples.MoistAir.pipe 2>&1)