Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.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.ConstantEffectivenessZeroFlowBothStreams,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlowBothStreams",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlowBothStreams",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.7659/0.7659, allocations: 141.8 MB / 149.1 MB, free: 1.219 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.001087/0.001087, allocations: 185.2 kB / 182 MB, free: 0.5352 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.357/1.357, allocations: 221.3 MB / 436 MB, free: 5.398 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.000994/0.000994, allocations: 96.56 kB / 0.507 GB, free: 2.09 MB / 410.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00174/0.00174, allocations: 274.2 kB / 0.5884 GB, free: 47.13 MB / 410.9 MB Notification: Performance of FrontEnd - loaded program: time 0.3654/0.3672, allocations: 89.63 MB / 0.676 GB, free: 59.48 MB / 442.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1511/0.5184, allocations: 82.78 MB / 0.7568 GB, free: 496 kB / 442.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.358/3.876, allocations: 1.855 GB / 2.612 GB, free: 222.1 MB / 0.7138 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002267/3.876, allocations: 87.25 kB / 2.612 GB, free: 222 MB / 0.7138 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 2.844/6.72, allocations: 1.012 GB / 3.624 GB, free: 11.59 MB / 0.7138 GB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/6.72, allocations: 12 kB / 3.624 GB, free: 11.58 MB / 0.7138 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00364/6.724, allocations: 0.5954 MB / 3.625 GB, free: 10.98 MB / 0.7138 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003244/6.727, allocations: 1.078 MB / 3.626 GB, free: 9.859 MB / 0.7138 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006412/6.728, allocations: 177.9 kB / 3.626 GB, free: 9.684 MB / 0.7138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003295/6.728, allocations: 48 kB / 3.626 GB, free: 9.637 MB / 0.7138 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00197/6.73, allocations: 1.011 MB / 3.627 GB, free: 8.625 MB / 0.7138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001828/6.732, allocations: 1.048 MB / 3.628 GB, free: 7.559 MB / 0.7138 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.159e-05/6.732, allocations: 0 / 3.628 GB, free: 7.559 MB / 0.7138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001141/6.732, allocations: 0 / 3.628 GB, free: 7.559 MB / 0.7138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.214e-05/6.732, allocations: 45.97 kB / 3.628 GB, free: 7.516 MB / 0.7138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006936/6.739, allocations: 4.104 MB / 3.632 GB, free: 3.172 MB / 0.7138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009962/6.74, allocations: 0.728 MB / 3.633 GB, free: 2.434 MB / 0.7138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000594/6.741, allocations: 0.5109 MB / 3.634 GB, free: 1.922 MB / 0.7138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008934/6.742, allocations: 0.6203 MB / 3.634 GB, free: 1.191 MB / 0.7138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.058e-05/6.742, allocations: 39.22 kB / 3.634 GB, free: 1.145 MB / 0.7138 GB Notification: Performance of pre-optimization done (n=76): time 2.705e-06/6.742, allocations: 3.938 kB / 3.634 GB, free: 1.141 MB / 0.7138 GB Notification: Performance of matching and sorting (n=76): time 0.002607/6.745, allocations: 1.19 MB / 3.635 GB, free: 15.94 MB / 0.7294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.403e-05/6.745, allocations: 60.06 kB / 3.635 GB, free: 15.87 MB / 0.7294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009914/6.746, allocations: 0.5707 MB / 3.636 GB, free: 15.29 MB / 0.7294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001304/6.746, allocations: 29.7 kB / 3.636 GB, free: 15.26 MB / 0.7294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002491/6.746, allocations: 328.3 kB / 3.636 GB, free: 14.93 MB / 0.7294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002316/6.746, allocations: 248.2 kB / 3.637 GB, free: 14.68 MB / 0.7294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.542e-05/6.746, allocations: 4 kB / 3.637 GB, free: 14.68 MB / 0.7294 GB Notification: Performance of setup shared object (initialization): time 0.0001339/6.746, allocations: 337.9 kB / 3.637 GB, free: 14.34 MB / 0.7294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000664/6.747, allocations: 405.4 kB / 3.637 GB, free: 13.95 MB / 0.7294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007847/6.748, allocations: 0.5386 MB / 3.638 GB, free: 13.36 MB / 0.7294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001339/6.749, allocations: 0.612 MB / 3.638 GB, free: 12.75 MB / 0.7294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/6.749, allocations: 0 / 3.638 GB, free: 12.75 MB / 0.7294 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002479/6.752, allocations: 1.221 MB / 3.64 GB, free: 11.52 MB / 0.7294 GB Notification: Performance of prepare postOptimizeDAE: time 0.000178/6.752, allocations: 447.6 kB / 3.64 GB, free: 11.05 MB / 0.7294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.257e-06/6.752, allocations: 4 kB / 3.64 GB, free: 11.05 MB / 0.7294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.219e-05/6.752, allocations: 4 kB / 3.64 GB, free: 11.04 MB / 0.7294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001801/6.754, allocations: 291.6 kB / 3.64 GB, free: 10.76 MB / 0.7294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008461/6.755, allocations: 1.211 MB / 3.642 GB, free: 9.5 MB / 0.7294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001584/6.756, allocations: 183.5 kB / 3.642 GB, free: 9.32 MB / 0.7294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001475/6.756, allocations: 39.97 kB / 3.642 GB, free: 9.281 MB / 0.7294 GB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/6.756, allocations: 4 kB / 3.642 GB, free: 9.277 MB / 0.7294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002289/6.759, allocations: 1.103 MB / 3.643 GB, free: 8.172 MB / 0.7294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/6.759, allocations: 0 / 3.643 GB, free: 8.172 MB / 0.7294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.049e-05/6.759, allocations: 8 kB / 3.643 GB, free: 8.164 MB / 0.7294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001452/6.76, allocations: 271.7 kB / 3.643 GB, free: 7.898 MB / 0.7294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.286e-05/6.76, allocations: 8 kB / 3.643 GB, free: 7.891 MB / 0.7294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001412/6.762, allocations: 179.4 kB / 3.643 GB, free: 7.715 MB / 0.7294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001201/6.762, allocations: 39.97 kB / 3.643 GB, free: 7.676 MB / 0.7294 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.0002664/6.762, allocations: 120.9 kB / 3.643 GB, free: 7.551 MB / 0.7294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002703/6.762, allocations: 98.78 kB / 3.643 GB, free: 7.453 MB / 0.7294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002698/6.765, allocations: 1.263 MB / 3.645 GB, free: 6.18 MB / 0.7294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.457e-06/6.765, allocations: 8 kB / 3.645 GB, free: 6.172 MB / 0.7294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/6.765, allocations: 0 / 3.645 GB, free: 6.172 MB / 0.7294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.011e-05/6.765, allocations: 3.984 kB / 3.645 GB, free: 6.168 MB / 0.7294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005016/6.77, allocations: 2.65 MB / 3.647 GB, free: 3.43 MB / 0.7294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.943e-06/6.77, allocations: 4 kB / 3.647 GB, free: 3.426 MB / 0.7294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001483/6.772, allocations: 271.7 kB / 3.648 GB, free: 3.16 MB / 0.7294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.389e-05/6.772, allocations: 4 kB / 3.648 GB, free: 3.156 MB / 0.7294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.183e-05/6.772, allocations: 23.97 kB / 3.648 GB, free: 3.133 MB / 0.7294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006257/6.772, allocations: 1.203 MB / 3.649 GB, free: 1.883 MB / 0.7294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.971e-06/6.772, allocations: 4 kB / 3.649 GB, free: 1.879 MB / 0.7294 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002504/6.775, allocations: 1.532 MB / 3.65 GB, free: 196 kB / 0.7294 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.2444/7.019, allocations: 2.063 MB / 3.652 GB, free: 154 MB / 0.7294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005463/7.02, allocations: 308 kB / 3.653 GB, free: 153.9 MB / 0.7294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001643/7.02, allocations: 6.875 kB / 3.653 GB, free: 153.9 MB / 0.7294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001383/7.021, allocations: 167.9 kB / 3.653 GB, free: 153.9 MB / 0.7294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001186/7.022, allocations: 50.14 kB / 3.653 GB, free: 153.9 MB / 0.7294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.864e-05/7.022, allocations: 43.64 kB / 3.653 GB, free: 153.9 MB / 0.7294 GB Notification: Performance of sort global known variables: time 0.0005311/7.022, allocations: 444.5 kB / 3.653 GB, free: 153.8 MB / 0.7294 GB Notification: Performance of remove unused functions: time 0.003898/7.026, allocations: 1.29 MB / 3.655 GB, free: 153.8 MB / 0.7294 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.003798/7.03, allocations: 2.634 MB / 3.657 GB, free: 153 MB / 0.7294 GB Notification: Performance of simCode: created initialization part: time 0.003367/7.033, allocations: 1.603 MB / 3.659 GB, free: 152.9 MB / 0.7294 GB Notification: Performance of simCode: created event and clocks part: time 6.522e-06/7.033, allocations: 4.688 kB / 3.659 GB, free: 152.9 MB / 0.7294 GB Notification: Performance of simCode: created simulation system equations: time 0.0008894/7.034, allocations: 0.5399 MB / 3.659 GB, free: 152.9 MB / 0.7294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002242/7.036, allocations: 413.1 kB / 3.66 GB, free: 152.9 MB / 0.7294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01513/7.052, allocations: 2.428 MB / 3.662 GB, free: 152.4 MB / 0.7294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009872/7.053, allocations: 1.23 MB / 3.663 GB, free: 151.7 MB / 0.7294 GB Notification: Performance of SimCode: time 8.02e-07/7.053, allocations: 0 / 3.663 GB, free: 151.7 MB / 0.7294 GB (rm -f BuildingSystems_BuildingSystems.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlowBothStreams_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlowBothStreams.fmu > BuildingSystems_BuildingSystems.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe 2>&1)