Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.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/IDEAS 3.0.0/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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: translateModel(IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate") translateModel(IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate") [: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.003705/0.003705, allocations: 188.6 kB / 7.459 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7067/0.7067, allocations: 130.6 MB / 138.5 MB, free: 2.109 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.718/1.718, allocations: 221.4 MB / 391.4 MB, free: 12.96 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001055/0.001055, allocations: 92.55 kB / 473.4 MB, free: 14.29 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 7.764e-06/7.785e-06, allocations: 0 / 0.5479 GB, free: 89.09 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.222/0.222, allocations: 81.58 MB / 0.6276 GB, free: 18.16 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.568/4.791, allocations: 1.875 GB / 2.502 GB, free: 248.2 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002392/4.791, allocations: 87.33 kB / 2.503 GB, free: 248.2 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.426/6.217, allocations: 442.3 MB / 2.934 GB, free: 83.7 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 6.112e-05/6.217, allocations: 22.72 kB / 2.934 GB, free: 83.68 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.002373/6.22, allocations: 0.8456 MB / 2.935 GB, free: 82.79 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.108e-05/6.22, allocations: 8.031 kB / 2.935 GB, free: 82.78 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00134/6.221, allocations: 171.2 kB / 2.935 GB, free: 82.61 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001878/6.223, allocations: 0.674 MB / 2.936 GB, free: 81.9 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.633e-05/6.223, allocations: 12 kB / 2.936 GB, free: 81.89 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.791e-05/6.223, allocations: 24 kB / 2.936 GB, free: 81.86 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005357/6.224, allocations: 261.4 kB / 2.936 GB, free: 81.61 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005642/6.224, allocations: 365.6 kB / 2.937 GB, free: 81.22 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.085e-05/6.224, allocations: 0 / 2.937 GB, free: 81.22 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.685e-05/6.224, allocations: 4 kB / 2.937 GB, free: 81.22 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.381e-05/6.225, allocations: 8 kB / 2.937 GB, free: 81.21 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002245/6.227, allocations: 1.938 MB / 2.939 GB, free: 79.12 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002821/6.227, allocations: 183.5 kB / 2.939 GB, free: 78.93 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001518/6.227, allocations: 116.8 kB / 2.939 GB, free: 78.82 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00052/6.228, allocations: 311.2 kB / 2.939 GB, free: 78.46 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3e-05/6.228, allocations: 42.5 kB / 2.939 GB, free: 78.41 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=24): time 2.374e-06/6.228, allocations: 0 / 2.939 GB, free: 78.41 MB / 0.6667 GB Notification: Performance of matching and sorting (n=24): time 0.001084/6.229, allocations: 402.9 kB / 2.94 GB, free: 78.01 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.601e-05/6.229, allocations: 51.41 kB / 2.94 GB, free: 77.95 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002334/6.229, allocations: 227.6 kB / 2.94 GB, free: 77.72 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 3.135e-05/6.229, allocations: 25.7 kB / 2.94 GB, free: 77.69 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001024/6.229, allocations: 200.1 kB / 2.94 GB, free: 77.49 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 7.006e-05/6.229, allocations: 91.73 kB / 2.94 GB, free: 77.4 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.361e-05/6.229, allocations: 0 / 2.94 GB, free: 77.4 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 9.222e-05/6.23, allocations: 342.8 kB / 2.941 GB, free: 77.05 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001248/6.23, allocations: 83.97 kB / 2.941 GB, free: 76.97 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001689/6.23, allocations: 178.2 kB / 2.941 GB, free: 76.76 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004798/6.23, allocations: 226.9 kB / 2.941 GB, free: 76.54 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/6.23, allocations: 1.203 kB / 2.941 GB, free: 76.54 MB / 0.6667 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007336/6.231, allocations: 416.8 kB / 2.941 GB, free: 76.13 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/6.231, allocations: 4 kB / 2.941 GB, free: 76.12 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/6.231, allocations: 0 / 2.941 GB, free: 76.12 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.957e-05/6.231, allocations: 4 kB / 2.941 GB, free: 76.12 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003017/6.231, allocations: 63.91 kB / 2.942 GB, free: 76.06 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.061e-05/6.231, allocations: 8.156 kB / 2.942 GB, free: 76.05 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003293/6.232, allocations: 43.75 kB / 2.942 GB, free: 76.01 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.006e-05/6.232, allocations: 15.94 kB / 2.942 GB, free: 75.99 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 31 * 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.52e-05/6.232, allocations: 116.8 kB / 2.942 GB, free: 75.87 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.077e-05/6.232, allocations: 27.62 kB / 2.942 GB, free: 75.84 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008089/6.233, allocations: 424.5 kB / 2.942 GB, free: 75.42 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.287e-06/6.233, allocations: 4 kB / 2.942 GB, free: 75.41 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/6.233, allocations: 3.938 kB / 2.942 GB, free: 75.41 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.572e-06/6.233, allocations: 7.891 kB / 2.942 GB, free: 75.4 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001418/6.234, allocations: 0.9375 MB / 2.943 GB, free: 74.4 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.526e-06/6.234, allocations: 0 / 2.943 GB, free: 74.4 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002714/6.235, allocations: 52.14 kB / 2.943 GB, free: 74.35 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.534e-06/6.235, allocations: 4 kB / 2.943 GB, free: 74.34 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.581e-05/6.235, allocations: 7.984 kB / 2.943 GB, free: 74.34 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.328e-06/6.235, allocations: 4 kB / 2.943 GB, free: 74.33 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/6.235, allocations: 0 / 2.943 GB, free: 74.33 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009488/6.236, allocations: 0.7406 MB / 2.944 GB, free: 73.51 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001507/6.236, allocations: 132.6 kB / 2.944 GB, free: 73.36 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.19e-05/6.236, allocations: 7.906 kB / 2.944 GB, free: 73.36 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002671/6.236, allocations: 32.03 kB / 2.944 GB, free: 73.32 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.24e-05/6.236, allocations: 19.97 kB / 2.944 GB, free: 73.3 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.703e-05/6.236, allocations: 8 kB / 2.944 GB, free: 73.3 MB / 0.6667 GB Notification: Performance of sort global known variables: time 0.0001366/6.236, allocations: 179.1 kB / 2.944 GB, free: 73.12 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0009754/6.237, allocations: 215.7 kB / 2.944 GB, free: 72.91 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 1 (senH.h_out) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 24 * 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.002855/6.24, allocations: 1.72 MB / 2.946 GB, free: 71.13 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0004158/6.241, allocations: 242 kB / 2.946 GB, free: 70.9 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/6.241, allocations: 0 / 2.946 GB, free: 70.9 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0001602/6.241, allocations: 126.2 kB / 2.946 GB, free: 70.78 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006898/6.242, allocations: 111.9 kB / 2.947 GB, free: 70.67 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001277/6.243, allocations: 0.5707 MB / 2.947 GB, free: 70.05 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004748/6.243, allocations: 0.8729 MB / 2.948 GB, free: 69.14 MB / 0.6667 GB Notification: Performance of SimCode: time 4.71e-07/6.243, allocations: 0 / 2.948 GB, free: 69.14 MB / 0.6667 GB Notification: Performance of Templates: time 0.02305/6.266, allocations: 14.05 MB / 2.962 GB, free: 55.16 MB / 0.6667 GB make -j1 -f IDEAS_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.makefile (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.sim & ./IDEAS_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1)