Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.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.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",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.003928/0.003928, allocations: 179 kB / 7.46 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7105/0.7105, 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.514/1.514, allocations: 221.3 MB / 395 MB, free: 10.21 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.001016/0.001016, allocations: 94.41 kB / 477.8 MB, free: 10.83 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4428/0.4438, allocations: 88.43 MB / 0.5529 GB, free: 89.05 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1795/0.6233, allocations: 82.3 MB / 0.6333 GB, free: 14.04 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.531/1.154, allocations: 113 MB / 0.7436 GB, free: 10.57 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002138/1.155, allocations: 83.19 kB / 0.7437 GB, free: 10.57 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.02304/1.178, allocations: 7.888 MB / 0.7514 GB, free: 25.59 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.569e-05/1.178, allocations: 10.03 kB / 0.7514 GB, free: 25.59 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002566/1.178, allocations: 39.55 kB / 0.7514 GB, free: 25.57 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005086/1.179, allocations: 286.8 kB / 0.7517 GB, free: 25.35 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.576e-05/1.179, allocations: 5.438 kB / 0.7517 GB, free: 25.35 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.905e-05/1.179, allocations: 7.688 kB / 0.7517 GB, free: 25.35 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002413/1.179, allocations: 94 kB / 0.7518 GB, free: 25.34 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002568/1.179, allocations: 167.2 kB / 0.752 GB, free: 25.25 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.258e-06/1.179, allocations: 1.312 kB / 0.752 GB, free: 25.25 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.741e-05/1.179, allocations: 0 / 0.752 GB, free: 25.25 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.165e-06/1.179, allocations: 3.938 kB / 0.752 GB, free: 25.25 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001224/1.18, allocations: 0.9179 MB / 0.7529 GB, free: 24.57 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005671/1.181, allocations: 177.5 kB / 0.7531 GB, free: 24.52 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001156/1.181, allocations: 59.03 kB / 0.7531 GB, free: 24.5 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.903e-05/1.181, allocations: 1.375 kB / 0.7531 GB, free: 24.5 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.417e-05/1.181, allocations: 38.05 kB / 0.7531 GB, free: 24.46 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=16): time 1.333e-06/1.181, allocations: 1.312 kB / 0.7531 GB, free: 24.46 MB / 0.5105 GB Notification: Performance of matching and sorting (n=16): time 0.0004766/1.182, allocations: 148.1 kB / 0.7533 GB, free: 24.41 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.576e-05/1.182, allocations: 78.39 kB / 0.7534 GB, free: 24.32 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002481/1.182, allocations: 224.1 kB / 0.7536 GB, free: 24.21 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.327e-05/1.182, allocations: 26.83 kB / 0.7536 GB, free: 24.18 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 8.258e-05/1.182, allocations: 127.5 kB / 0.7537 GB, free: 24.07 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.575e-05/1.182, allocations: 55.38 kB / 0.7538 GB, free: 24.04 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.04e-05/1.182, allocations: 0 / 0.7538 GB, free: 24.04 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001393/1.182, allocations: 334 kB / 0.7541 GB, free: 23.73 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.303e-05/1.182, allocations: 40.84 kB / 0.7541 GB, free: 23.73 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001263/1.183, allocations: 89.22 kB / 0.7542 GB, free: 23.67 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001638/1.183, allocations: 58.12 kB / 0.7543 GB, free: 23.66 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/1.183, allocations: 1.125 kB / 0.7543 GB, free: 23.66 MB / 0.5105 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004247/1.183, allocations: 180.5 kB / 0.7544 GB, free: 23.61 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.227e-05/1.183, allocations: 6.656 kB / 0.7545 GB, free: 23.61 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.195e-06/1.183, allocations: 2.656 kB / 0.7545 GB, free: 23.61 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.277e-05/1.183, allocations: 2.625 kB / 0.7545 GB, free: 23.61 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004126/1.184, allocations: 80.16 kB / 0.7545 GB, free: 23.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.384e-05/1.184, allocations: 10.66 kB / 0.7545 GB, free: 23.59 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003191/1.184, allocations: 50.8 kB / 0.7546 GB, free: 23.58 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.424e-05/1.184, allocations: 9.984 kB / 0.7546 GB, free: 23.58 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * 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.00011/1.184, allocations: 114.6 kB / 0.7547 GB, free: 23.46 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001493/1.184, allocations: 27.94 kB / 0.7547 GB, free: 23.45 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005384/1.185, allocations: 169.3 kB / 0.7549 GB, free: 23.41 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.498e-06/1.185, allocations: 9.953 kB / 0.7549 GB, free: 23.4 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.617e-06/1.185, allocations: 0.5938 kB / 0.7549 GB, free: 23.4 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.169e-06/1.185, allocations: 0.5625 kB / 0.7549 GB, free: 23.4 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004319/1.185, allocations: 263.7 kB / 0.7552 GB, free: 23.23 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/1.185, allocations: 4.562 kB / 0.7552 GB, free: 23.23 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003918/1.186, allocations: 68.47 kB / 0.7552 GB, free: 23.23 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.28e-06/1.186, allocations: 1.031 kB / 0.7552 GB, free: 23.23 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.865e-05/1.186, allocations: 1.562 kB / 0.7552 GB, free: 23.23 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/1.186, allocations: 1.094 kB / 0.7552 GB, free: 23.23 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.19e-06/1.186, allocations: 5.25 kB / 0.7552 GB, free: 23.22 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006271/1.186, allocations: 359 kB / 0.7556 GB, free: 22.97 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0008097/1.187, allocations: 0.7099 MB / 0.7563 GB, free: 22.36 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001034/1.187, allocations: 95.61 kB / 0.7564 GB, free: 22.26 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.457e-05/1.187, allocations: 8.641 kB / 0.7564 GB, free: 22.25 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003192/1.188, allocations: 40.36 kB / 0.7564 GB, free: 22.25 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.867e-05/1.188, allocations: 22.83 kB / 0.7564 GB, free: 22.24 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.709e-05/1.188, allocations: 6.969 kB / 0.7564 GB, free: 22.24 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.0002214/1.188, allocations: 167.4 kB / 0.7566 GB, free: 22.16 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001175/1.189, allocations: 57.89 kB / 0.7567 GB, free: 22.16 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * 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.0002448/1.19, allocations: 117.1 kB / 0.7568 GB, free: 22.06 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0003253/1.19, allocations: 132.3 kB / 0.7569 GB, free: 22.05 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/1.19, allocations: 0 / 0.7569 GB, free: 22.05 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.000142/1.19, allocations: 65.75 kB / 0.757 GB, free: 22.04 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005283/1.191, allocations: 71.41 kB / 0.757 GB, free: 22.02 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008078/1.191, allocations: 295.2 kB / 0.7573 GB, free: 21.88 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005256/1.192, allocations: 0.7916 MB / 0.7581 GB, free: 21.17 MB / 0.5105 GB Notification: Performance of SimCode: time 1.182e-06/1.192, allocations: 0 / 0.7581 GB, free: 21.17 MB / 0.5105 GB (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil_fmu --startTime=0 --stopTime=80 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil.fmu > IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1)