Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlow",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/BuildingSystems 2.0.0-master/package.mo): time 0.7315/0.7315, allocations: 141.8 MB / 149.1 MB, free: 3.918 MB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001441/0.001441, allocations: 189.4 kB / 181.9 MB, free: 15.63 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.316/1.316, allocations: 221.3 MB / 436 MB, free: 8.855 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008753/0.0008752, allocations: 96.16 kB / 0.507 GB, free: 24.21 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001774/0.001774, allocations: 284.9 kB / 0.5884 GB, free: 11.84 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 0.1667/0.1685, allocations: 89.64 MB / 0.676 GB, free: 2.102 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3591/0.5276, allocations: 82.76 MB / 0.7568 GB, free: 112.4 MB / 0.5263 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.012/3.54, allocations: 1.855 GB / 2.612 GB, free: 221.1 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002301/3.54, allocations: 92.5 kB / 2.612 GB, free: 221 MB / 0.6982 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 3.189/6.73, allocations: 1.012 GB / 3.624 GB, free: 100.5 MB / 0.7138 GB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/6.73, allocations: 9.969 kB / 3.624 GB, free: 100.5 MB / 0.7138 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003104/6.733, allocations: 0.5896 MB / 3.625 GB, free: 100.4 MB / 0.7138 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00243/6.735, allocations: 1.083 MB / 3.626 GB, free: 100.1 MB / 0.7138 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005933/6.736, allocations: 182 kB / 3.626 GB, free: 100.1 MB / 0.7138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001311/6.736, allocations: 52.25 kB / 3.626 GB, free: 100.1 MB / 0.7138 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001537/6.737, allocations: 1.009 MB / 3.627 GB, free: 100.1 MB / 0.7138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001516/6.739, allocations: 1.054 MB / 3.628 GB, free: 100 MB / 0.7138 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.104e-05/6.739, allocations: 0 / 3.628 GB, free: 100 MB / 0.7138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.494e-05/6.739, allocations: 3.812 kB / 3.628 GB, free: 100 MB / 0.7138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.428e-05/6.739, allocations: 41.64 kB / 3.628 GB, free: 100 MB / 0.7138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006195/6.745, allocations: 4.098 MB / 3.632 GB, free: 98.55 MB / 0.7138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009765/6.746, allocations: 0.7241 MB / 3.633 GB, free: 98.52 MB / 0.7138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005939/6.747, allocations: 0.5035 MB / 3.634 GB, free: 98.51 MB / 0.7138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000931/6.748, allocations: 0.623 MB / 3.634 GB, free: 97.95 MB / 0.7138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.895e-05/6.748, allocations: 41.31 kB / 3.634 GB, free: 97.91 MB / 0.7138 GB Notification: Performance of pre-optimization done (n=76): time 3.136e-06/6.748, allocations: 0 / 3.634 GB, free: 97.91 MB / 0.7138 GB Notification: Performance of matching and sorting (n=76): time 0.002469/6.75, allocations: 1.187 MB / 3.635 GB, free: 97.83 MB / 0.7138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.446e-05/6.75, allocations: 59.59 kB / 3.635 GB, free: 97.76 MB / 0.7138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006461/6.751, allocations: 0.5682 MB / 3.636 GB, free: 97.64 MB / 0.7138 GB Notification: Performance of collectPreVariables (initialization): time 8.862e-05/6.751, allocations: 28.83 kB / 3.636 GB, free: 97.61 MB / 0.7138 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001703/6.751, allocations: 331.4 kB / 3.636 GB, free: 97.45 MB / 0.7138 GB Notification: Performance of collectInitialBindings (initialization): time 0.000182/6.752, allocations: 242.9 kB / 3.637 GB, free: 97.32 MB / 0.7138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.912e-05/6.752, allocations: 3.438 kB / 3.637 GB, free: 97.32 MB / 0.7138 GB Notification: Performance of setup shared object (initialization): time 7.262e-05/6.752, allocations: 346.1 kB / 3.637 GB, free: 97.02 MB / 0.7138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005484/6.752, allocations: 408.3 kB / 3.637 GB, free: 97.02 MB / 0.7138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000644/6.753, allocations: 0.5365 MB / 3.638 GB, free: 96.89 MB / 0.7138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001116/6.754, allocations: 0.618 MB / 3.638 GB, free: 96.88 MB / 0.7138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/6.754, allocations: 1.5 kB / 3.638 GB, free: 96.88 MB / 0.7138 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002056/6.756, allocations: 1.22 MB / 3.64 GB, free: 96.79 MB / 0.7138 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001314/6.756, allocations: 452.8 kB / 3.64 GB, free: 96.34 MB / 0.7138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/6.756, allocations: 5.562 kB / 3.64 GB, free: 96.34 MB / 0.7138 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.552e-05/6.756, allocations: 3.938 kB / 3.64 GB, free: 96.34 MB / 0.7138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00176/6.758, allocations: 283.3 kB / 3.64 GB, free: 96.34 MB / 0.7138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005692/6.759, allocations: 1.207 MB / 3.641 GB, free: 95.17 MB / 0.7138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001358/6.76, allocations: 186.8 kB / 3.642 GB, free: 95.15 MB / 0.7138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001176/6.76, allocations: 42.95 kB / 3.642 GB, free: 95.15 MB / 0.7138 GB Notification: Performance of prepare postOptimizeDAE: time 8.395e-06/6.76, allocations: 3.156 kB / 3.642 GB, free: 95.15 MB / 0.7138 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001928/6.762, allocations: 1.094 MB / 3.643 GB, free: 95.14 MB / 0.7138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.958e-06/6.762, allocations: 0 / 3.643 GB, free: 95.14 MB / 0.7138 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.705e-06/6.762, allocations: 7.094 kB / 3.643 GB, free: 95.14 MB / 0.7138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001296/6.763, allocations: 276.8 kB / 3.643 GB, free: 95.14 MB / 0.7138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.987e-06/6.763, allocations: 5 kB / 3.643 GB, free: 95.14 MB / 0.7138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001307/6.765, allocations: 180.1 kB / 3.643 GB, free: 95.12 MB / 0.7138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001039/6.765, allocations: 37.73 kB / 3.643 GB, free: 95.12 MB / 0.7138 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 2 (hex.i1_w,hex.i2_w) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002675/6.765, allocations: 124.9 kB / 3.643 GB, free: 95.02 MB / 0.7138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000192/6.765, allocations: 97.12 kB / 3.643 GB, free: 94.97 MB / 0.7138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00236/6.768, allocations: 1.262 MB / 3.645 GB, free: 94.9 MB / 0.7138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.087e-05/6.768, allocations: 11.28 kB / 3.645 GB, free: 94.9 MB / 0.7138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/6.768, allocations: 0 / 3.645 GB, free: 94.9 MB / 0.7138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.738e-06/6.768, allocations: 9.469 kB / 3.645 GB, free: 94.9 MB / 0.7138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004242/6.772, allocations: 2.645 MB / 3.647 GB, free: 94.48 MB / 0.7138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.472e-06/6.772, allocations: 5.75 kB / 3.647 GB, free: 94.48 MB / 0.7138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00139/6.773, allocations: 270.3 kB / 3.648 GB, free: 94.48 MB / 0.7138 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.491e-05/6.774, allocations: 13.78 kB / 3.648 GB, free: 94.48 MB / 0.7138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.496e-05/6.774, allocations: 10.38 kB / 3.648 GB, free: 94.48 MB / 0.7138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004088/6.774, allocations: 1.206 MB / 3.649 GB, free: 93.3 MB / 0.7138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.82e-06/6.774, allocations: 8.75 kB / 3.649 GB, free: 93.3 MB / 0.7138 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002091/6.776, allocations: 1.536 MB / 3.65 GB, free: 92.74 MB / 0.7138 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002423/6.779, allocations: 2.059 MB / 3.652 GB, free: 91.8 MB / 0.7138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005799/6.779, allocations: 307.2 kB / 3.653 GB, free: 91.66 MB / 0.7138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001671/6.779, allocations: 11.2 kB / 3.653 GB, free: 91.66 MB / 0.7138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001336/6.781, allocations: 165 kB / 3.653 GB, free: 91.66 MB / 0.7138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001201/6.781, allocations: 55.75 kB / 3.653 GB, free: 91.66 MB / 0.7138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000116/6.781, allocations: 44.5 kB / 3.653 GB, free: 91.66 MB / 0.7138 GB Notification: Performance of sort global known variables: time 0.0005451/6.781, allocations: 441.1 kB / 3.653 GB, free: 91.57 MB / 0.7138 GB Notification: Performance of remove unused functions: time 0.003992/6.785, allocations: 1.288 MB / 3.655 GB, free: 91.54 MB / 0.7138 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002982/6.788, allocations: 2.631 MB / 3.657 GB, free: 90.73 MB / 0.7138 GB Notification: Performance of simCode: created initialization part: time 0.002925/6.791, allocations: 1.607 MB / 3.659 GB, free: 90.64 MB / 0.7138 GB Notification: Performance of simCode: created event and clocks part: time 5.61e-06/6.791, allocations: 2.719 kB / 3.659 GB, free: 90.64 MB / 0.7138 GB Notification: Performance of simCode: created simulation system equations: time 0.0008648/6.792, allocations: 0.5439 MB / 3.659 GB, free: 90.64 MB / 0.7138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002273/6.795, allocations: 413.1 kB / 3.66 GB, free: 90.63 MB / 0.7138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01593/6.811, allocations: 2.422 MB / 3.662 GB, free: 90.16 MB / 0.7138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001456/6.812, allocations: 1.234 MB / 3.663 GB, free: 89.44 MB / 0.7138 GB Notification: Performance of SimCode: time 1.193e-06/6.812, allocations: 2.844 kB / 3.663 GB, free: 89.44 MB / 0.7138 GB (rm -f BuildingSystems_BuildingSystems.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlow.fmu > BuildingSystems_BuildingSystems.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe 2>&1)