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-master/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-master/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: "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate",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 4.0.0+maint.om/package.mo): time 0.004361/0.004361, allocations: 187.2 kB / 7.463 MB, free: 2.238 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7693/0.7693, allocations: 133.5 MB / 141.4 MB, free: 15.68 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.685/1.685, allocations: 221.3 MB / 395 MB, free: 10.18 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.001074/0.001074, allocations: 102 kB / 477.8 MB, free: 10.8 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5449/0.546, allocations: 88.42 MB / 0.5529 GB, free: 89.19 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2511/0.7971, allocations: 82.31 MB / 0.6333 GB, free: 14.01 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.544/5.341, allocations: 1.875 GB / 2.508 GB, free: 46.86 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002613/5.342, allocations: 91.84 kB / 2.508 GB, free: 46.81 MB / 0.6823 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 1.603/6.944, allocations: 443.2 MB / 2.941 GB, free: 148.9 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.746e-05/6.944, allocations: 15.36 kB / 2.941 GB, free: 148.8 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00117/6.945, allocations: 165.9 kB / 2.941 GB, free: 148.8 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001501/6.947, allocations: 0.6794 MB / 2.942 GB, free: 148.3 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.324e-05/6.947, allocations: 14.34 kB / 2.942 GB, free: 148.3 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.855e-05/6.947, allocations: 26.78 kB / 2.942 GB, free: 148.3 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005127/6.948, allocations: 256 kB / 2.942 GB, free: 148.2 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005858/6.948, allocations: 370.3 kB / 2.943 GB, free: 148 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.371e-05/6.948, allocations: 0.875 kB / 2.943 GB, free: 148 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.987e-05/6.948, allocations: 4.594 kB / 2.943 GB, free: 148 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.69e-05/6.948, allocations: 9.562 kB / 2.943 GB, free: 148 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001985/6.95, allocations: 1.927 MB / 2.945 GB, free: 146.2 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00031/6.951, allocations: 189.8 kB / 2.945 GB, free: 146.2 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001814/6.951, allocations: 116.7 kB / 2.945 GB, free: 146.1 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005091/6.951, allocations: 311 kB / 2.945 GB, free: 145.7 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.07e-05/6.951, allocations: 37.44 kB / 2.945 GB, free: 145.7 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=24): time 2.424e-06/6.951, allocations: 0 / 2.945 GB, free: 145.7 MB / 0.6823 GB Notification: Performance of matching and sorting (n=24): time 0.0009477/6.952, allocations: 406.2 kB / 2.946 GB, free: 145.3 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.089e-05/6.952, allocations: 55.41 kB / 2.946 GB, free: 145.2 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001886/6.952, allocations: 227.5 kB / 2.946 GB, free: 145 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.383e-05/6.952, allocations: 28.67 kB / 2.946 GB, free: 145 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 7.874e-05/6.953, allocations: 207.1 kB / 2.946 GB, free: 144.8 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 4.529e-05/6.953, allocations: 74.77 kB / 2.946 GB, free: 144.7 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.248e-05/6.953, allocations: 0 / 2.946 GB, free: 144.7 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.639e-05/6.953, allocations: 346.8 kB / 2.947 GB, free: 144.3 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001196/6.953, allocations: 87.95 kB / 2.947 GB, free: 144.2 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001549/6.953, allocations: 177.4 kB / 2.947 GB, free: 144 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004638/6.953, allocations: 232.2 kB / 2.947 GB, free: 143.8 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/6.953, allocations: 4 kB / 2.947 GB, free: 143.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007043/6.954, allocations: 411.7 kB / 2.947 GB, free: 143.4 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.292e-05/6.954, allocations: 4 kB / 2.947 GB, free: 143.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/6.954, allocations: 7.906 kB / 2.947 GB, free: 143.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/6.954, allocations: 4 kB / 2.947 GB, free: 143.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002844/6.955, allocations: 59.91 kB / 2.947 GB, free: 143.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.907e-06/6.955, allocations: 4 kB / 2.947 GB, free: 143.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003058/6.955, allocations: 38.81 kB / 2.948 GB, free: 143.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.935e-05/6.955, allocations: 12 kB / 2.948 GB, free: 143.3 MB / 0.6823 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 6.752e-05/6.955, allocations: 120 kB / 2.948 GB, free: 143.2 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.263e-05/6.955, allocations: 31.62 kB / 2.948 GB, free: 143.1 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007625/6.956, allocations: 424.2 kB / 2.948 GB, free: 142.7 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.97e-06/6.956, allocations: 0 / 2.948 GB, free: 142.7 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/6.956, allocations: 0 / 2.948 GB, free: 142.7 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.181e-06/6.956, allocations: 11.33 kB / 2.948 GB, free: 142.7 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001332/6.957, allocations: 0.9371 MB / 2.949 GB, free: 141.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/6.957, allocations: 7.844 kB / 2.949 GB, free: 141.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002594/6.957, allocations: 43.92 kB / 2.949 GB, free: 141.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/6.957, allocations: 10.7 kB / 2.949 GB, free: 141.7 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.167e-05/6.958, allocations: 8 kB / 2.949 GB, free: 141.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.918e-06/6.958, allocations: 7.938 kB / 2.949 GB, free: 141.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.968e-06/6.958, allocations: 4 kB / 2.949 GB, free: 141.6 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009375/6.958, allocations: 0.7403 MB / 2.95 GB, free: 140.8 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001411/6.96, allocations: 1.34 MB / 2.951 GB, free: 139.4 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001303/6.96, allocations: 136.3 kB / 2.951 GB, free: 139.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.854e-05/6.96, allocations: 4 kB / 2.951 GB, free: 139.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002549/6.96, allocations: 27.88 kB / 2.951 GB, free: 139.2 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.936e-05/6.96, allocations: 19.3 kB / 2.951 GB, free: 139.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.94e-05/6.96, allocations: 15.98 kB / 2.951 GB, free: 139.2 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0001359/6.961, allocations: 179.1 kB / 2.951 GB, free: 139 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001633/6.962, allocations: 407.6 kB / 2.952 GB, free: 138.6 MB / 0.6823 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.002141/6.964, allocations: 1.715 MB / 2.954 GB, free: 137.2 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0003734/6.965, allocations: 233.1 kB / 2.954 GB, free: 137 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/6.965, allocations: 0 / 2.954 GB, free: 137 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001529/6.965, allocations: 127.6 kB / 2.954 GB, free: 136.9 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006331/6.966, allocations: 118.1 kB / 2.954 GB, free: 136.8 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001031/6.967, allocations: 0.5605 MB / 2.955 GB, free: 136.2 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003447/6.967, allocations: 0.8801 MB / 2.955 GB, free: 135.3 MB / 0.6823 GB Notification: Performance of SimCode: time 2.6e-07/6.967, allocations: 0 / 2.955 GB, free: 135.3 MB / 0.6823 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate.fmu > IDEAS_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1)