Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.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.Interfaces.Examples.FourPortHeatMassExchanger,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_FourPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_FourPortHeatMassExchanger",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.003508/0.003508, allocations: 183 kB / 7.461 MB, free: 2.504 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7512/0.7512, allocations: 133.5 MB / 141.4 MB, free: 15.71 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.567/1.567, allocations: 221.3 MB / 395 MB, free: 10.23 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.0009451/0.0009452, allocations: 108.5 kB / 477.8 MB, free: 10.82 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5055/0.5065, allocations: 88.43 MB / 0.5529 GB, free: 88.47 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1916/0.6981, allocations: 82.31 MB / 0.6333 GB, free: 12.7 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.194/1.892, allocations: 380.9 MB / 1.005 GB, free: 249.4 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002497/1.893, allocations: 89.83 kB / 1.005 GB, free: 249.4 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: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 1.244/3.137, allocations: 444.1 MB / 1.439 GB, free: 73.18 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/3.137, allocations: 8 kB / 1.439 GB, free: 73.18 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003683/3.137, allocations: 138.5 kB / 1.439 GB, free: 73.04 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02768/3.165, allocations: 13 MB / 1.452 GB, free: 60.03 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.699e-05/3.165, allocations: 20 kB / 1.452 GB, free: 60.01 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.494e-05/3.165, allocations: 44 kB / 1.452 GB, free: 59.96 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009087/3.166, allocations: 455.9 kB / 1.452 GB, free: 59.52 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009495/3.167, allocations: 0.6306 MB / 1.453 GB, free: 58.85 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.527e-05/3.167, allocations: 0 / 1.453 GB, free: 58.85 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.499e-05/3.167, allocations: 4 kB / 1.453 GB, free: 58.85 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.851e-05/3.167, allocations: 16 kB / 1.453 GB, free: 58.83 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003917/3.171, allocations: 3.543 MB / 1.457 GB, free: 55.13 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003687/3.171, allocations: 194.3 kB / 1.457 GB, free: 54.93 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001862/3.171, allocations: 153.3 kB / 1.457 GB, free: 54.78 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004302/3.172, allocations: 0.6674 MB / 1.458 GB, free: 53.97 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.988e-05/3.172, allocations: 42.55 kB / 1.458 GB, free: 53.92 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=31): time 2.565e-06/3.172, allocations: 0 / 1.458 GB, free: 53.92 MB / 0.6823 GB Notification: Performance of matching and sorting (n=31): time 0.0007894/3.173, allocations: 352.4 kB / 1.458 GB, free: 53.57 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.309e-05/3.173, allocations: 55.41 kB / 1.458 GB, free: 53.5 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007173/3.173, allocations: 0.6492 MB / 1.459 GB, free: 52.84 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.822e-05/3.173, allocations: 37.69 kB / 1.459 GB, free: 52.8 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000171/3.174, allocations: 370.9 kB / 1.459 GB, free: 52.43 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 9.307e-05/3.174, allocations: 110.4 kB / 1.459 GB, free: 52.32 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.717e-05/3.174, allocations: 0 / 1.459 GB, free: 52.32 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 5.8e-05/3.174, allocations: 326 kB / 1.459 GB, free: 52 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001651/3.174, allocations: 117 kB / 1.459 GB, free: 51.88 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002354/3.174, allocations: 325.9 kB / 1.46 GB, free: 51.47 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003767/3.175, allocations: 189.5 kB / 1.46 GB, free: 51.29 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.027e-06/3.175, allocations: 8 kB / 1.46 GB, free: 51.28 MB / 0.6823 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0007508/3.175, allocations: 484.5 kB / 1.46 GB, free: 50.8 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/3.175, allocations: 12.03 kB / 1.46 GB, free: 50.79 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/3.175, allocations: 4 kB / 1.46 GB, free: 50.79 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.959e-05/3.175, allocations: 12 kB / 1.46 GB, free: 50.77 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004211/3.176, allocations: 119.8 kB / 1.461 GB, free: 50.66 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.123e-05/3.176, allocations: 23.91 kB / 1.461 GB, free: 50.63 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006924/3.177, allocations: 83.39 kB / 1.461 GB, free: 50.55 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.668e-05/3.177, allocations: 24 kB / 1.461 GB, free: 50.53 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 57 * 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 0.000104/3.177, allocations: 121.3 kB / 1.461 GB, free: 50.4 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001095/3.177, allocations: 82.97 kB / 1.461 GB, free: 50.32 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008121/3.178, allocations: 437.8 kB / 1.461 GB, free: 49.88 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.829e-06/3.178, allocations: 7.984 kB / 1.461 GB, free: 49.87 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/3.178, allocations: 0 / 1.461 GB, free: 49.87 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004851/3.178, allocations: 401.9 kB / 1.462 GB, free: 49.45 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001749/3.18, allocations: 1.235 MB / 1.463 GB, free: 48.16 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.137e-06/3.18, allocations: 4 kB / 1.463 GB, free: 48.16 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003616/3.18, allocations: 75.89 kB / 1.463 GB, free: 48.08 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.484e-06/3.18, allocations: 8.062 kB / 1.463 GB, free: 48.07 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.766e-05/3.18, allocations: 15.98 kB / 1.463 GB, free: 48.06 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/3.18, allocations: 4 kB / 1.463 GB, free: 48.05 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/3.18, allocations: 0 / 1.463 GB, free: 48.05 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008615/3.181, allocations: 0.7516 MB / 1.464 GB, free: 47.24 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001176/3.182, allocations: 1.355 MB / 1.465 GB, free: 45.82 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003609/3.183, allocations: 227.8 kB / 1.465 GB, free: 45.58 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001132/3.183, allocations: 4 kB / 1.465 GB, free: 45.58 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005411/3.183, allocations: 55.84 kB / 1.465 GB, free: 45.52 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.126e-05/3.184, allocations: 27.91 kB / 1.465 GB, free: 45.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.879e-05/3.184, allocations: 19.98 kB / 1.465 GB, free: 45.48 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0005985/3.184, allocations: 0.4952 MB / 1.466 GB, free: 44.99 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001897/3.186, allocations: 439.1 kB / 1.466 GB, free: 44.56 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (fouPor.vol1.dynBal.U,fouPor.vol2.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.001004/3.187, allocations: 0.5519 MB / 1.467 GB, free: 44.05 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0005788/3.188, allocations: 341 kB / 1.467 GB, free: 43.71 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/3.188, allocations: 4.062 kB / 1.467 GB, free: 43.71 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002122/3.188, allocations: 163.8 kB / 1.467 GB, free: 43.55 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002081/3.19, allocations: 461.8 kB / 1.468 GB, free: 43.1 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002502/3.193, allocations: 1.18 MB / 1.469 GB, free: 41.88 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007545/3.193, allocations: 1.152 MB / 1.47 GB, free: 40.7 MB / 0.6823 GB Notification: Performance of SimCode: time 7.31e-07/3.193, allocations: 0 / 1.47 GB, free: 40.7 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_FourPortHeatMassExchanger_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_FourPortHeatMassExchanger.fmu > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1)