Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.PowerInterface.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.Movers.BaseClasses.Validation.PowerInterface,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Movers_BaseClasses_Validation_PowerInterface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Movers.BaseClasses.Validation.PowerInterface,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Movers_BaseClasses_Validation_PowerInterface",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.6934/0.6934, allocations: 141.8 MB / 149.1 MB, free: 13.34 MB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001021/0.001021, allocations: 191.9 kB / 181.9 MB, free: 10.02 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.223/1.223, allocations: 221.4 MB / 436 MB, free: 2.48 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.000944/0.0009438, allocations: 86.78 kB / 0.507 GB, free: 17.71 MB / 378.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001873/0.001873, allocations: 285.4 kB / 0.5884 GB, free: 3.996 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 0.3864/0.3883, allocations: 89.64 MB / 0.676 GB, free: 136.7 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1542/0.5425, allocations: 82.77 MB / 0.7568 GB, free: 83.52 MB / 0.5107 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1163/0.6589, allocations: 108.8 MB / 0.863 GB, free: 6.586 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002389/0.6592, allocations: 76.64 kB / 0.8631 GB, free: 6.512 MB / 0.5419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.00969/0.6689, allocations: 3.267 MB / 0.8663 GB, free: 3.191 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/0.669, allocations: 16.94 kB / 0.8663 GB, free: 3.176 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000876/0.6699, allocations: 103.8 kB / 0.8664 GB, free: 3.074 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000149/0.67, allocations: 178.8 kB / 0.8666 GB, free: 2.859 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.129e-05/0.6701, allocations: 0 / 0.8666 GB, free: 2.859 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.334e-05/0.6701, allocations: 8 kB / 0.8666 GB, free: 2.852 MB / 0.5419 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001837/0.6703, allocations: 67.88 kB / 0.8667 GB, free: 2.785 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001829/0.6705, allocations: 97.62 kB / 0.8668 GB, free: 2.684 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.6705, allocations: 0 / 0.8668 GB, free: 2.684 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.814e-05/0.6705, allocations: 4 kB / 0.8668 GB, free: 2.68 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.714e-06/0.6705, allocations: 7.922 kB / 0.8668 GB, free: 2.672 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001069/0.6716, allocations: 413 kB / 0.8672 GB, free: 2.23 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001381/0.6718, allocations: 70.5 kB / 0.8672 GB, free: 2.152 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.295e-05/0.6718, allocations: 28.98 kB / 0.8673 GB, free: 2.121 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.978e-05/0.6719, allocations: 3.984 kB / 0.8673 GB, free: 2.117 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.952e-05/0.6719, allocations: 34.56 kB / 0.8673 GB, free: 2.074 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=5): time 1.573e-06/0.6719, allocations: 0 / 0.8673 GB, free: 2.074 MB / 0.5419 GB Notification: Performance of matching and sorting (n=5): time 0.0002457/0.6721, allocations: 81.73 kB / 0.8674 GB, free: 1.988 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.151e-05/0.6722, allocations: 55.41 kB / 0.8674 GB, free: 1.922 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.873e-05/0.6723, allocations: 128.2 kB / 0.8675 GB, free: 1.793 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 1.761e-05/0.6723, allocations: 25.7 kB / 0.8676 GB, free: 1.762 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 5.532e-05/0.6724, allocations: 107.8 kB / 0.8677 GB, free: 1.652 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 1.791e-05/0.6724, allocations: 15.8 kB / 0.8677 GB, free: 1.637 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.146e-05/0.6724, allocations: 0 / 0.8677 GB, free: 1.637 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 0.0001233/0.6725, allocations: 318.8 kB / 0.868 GB, free: 1.316 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.929e-05/0.6726, allocations: 31.98 kB / 0.868 GB, free: 1.285 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.527e-05/0.6727, allocations: 20 kB / 0.868 GB, free: 1.266 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.329e-05/0.6727, allocations: 27.97 kB / 0.8681 GB, free: 1.238 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.6727, allocations: 4 kB / 0.8681 GB, free: 1.234 MB / 0.5419 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001772/0.6729, allocations: 97.72 kB / 0.8682 GB, free: 1.133 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 4.738e-05/0.673, allocations: 93.06 kB / 0.8683 GB, free: 1.035 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.673, allocations: 0 / 0.8683 GB, free: 1.035 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.673, allocations: 4 kB / 0.8683 GB, free: 1.031 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003351/0.6733, allocations: 59.84 kB / 0.8683 GB, free: 0.9727 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.89e-06/0.6734, allocations: 0 / 0.8683 GB, free: 0.9727 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002807/0.6736, allocations: 35.97 kB / 0.8684 GB, free: 0.9375 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.805e-05/0.6737, allocations: 0 / 0.8684 GB, free: 0.9375 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 9.898e-06/0.6737, allocations: 7.125 kB / 0.8684 GB, free: 0.9336 MB / 0.5419 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 7.783e-05/0.6738, allocations: 35.92 kB / 0.8684 GB, free: 0.8984 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.162e-06/0.6738, allocations: 3.938 kB / 0.8684 GB, free: 0.8945 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.755e-06/0.6738, allocations: 4 kB / 0.8684 GB, free: 0.8906 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.22e-05/0.6739, allocations: 19.98 kB / 0.8684 GB, free: 0.8711 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.453e-06/0.6739, allocations: 0 / 0.8684 GB, free: 0.8711 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.527e-05/0.674, allocations: 19.83 kB / 0.8684 GB, free: 0.8516 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.338e-06/0.674, allocations: 0 / 0.8684 GB, free: 0.8516 MB / 0.5419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 7.327e-05/0.6741, allocations: 105 kB / 0.8685 GB, free: 0.7422 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.634e-05/0.6741, allocations: 7.906 kB / 0.8685 GB, free: 0.7344 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.012e-05/0.6742, allocations: 12.06 kB / 0.8686 GB, free: 0.7266 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.6742, allocations: 0 / 0.8686 GB, free: 0.7266 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.6742, allocations: 0 / 0.8686 GB, free: 0.7266 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.6742, allocations: 0 / 0.8686 GB, free: 0.7266 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004101/0.6746, allocations: 372.6 kB / 0.8689 GB, free: 320 kB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.6746, allocations: 0 / 0.8689 GB, free: 320 kB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003003/0.6749, allocations: 55.84 kB / 0.869 GB, free: 264 kB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.6749, allocations: 0 / 0.869 GB, free: 264 kB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.636e-05/0.675, allocations: 4 kB / 0.869 GB, free: 260 kB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.675, allocations: 0 / 0.869 GB, free: 260 kB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.01e-06/0.675, allocations: 3.984 kB / 0.869 GB, free: 256 kB / 0.5419 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002142/0.6752, allocations: 220.6 kB / 0.8692 GB, free: 0 / 0.5419 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003167/0.6755, allocations: 0.5946 MB / 0.8698 GB, free: 15.37 MB / 0.5575 GB Notification: Performance of postOpt removeConstants (simulation): time 6.556e-05/0.6756, allocations: 93.12 kB / 0.8699 GB, free: 15.26 MB / 0.5575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.693e-05/0.6756, allocations: 4 kB / 0.8699 GB, free: 15.25 MB / 0.5575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002927/0.6759, allocations: 31.97 kB / 0.8699 GB, free: 15.22 MB / 0.5575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.923e-05/0.676, allocations: 7.984 kB / 0.8699 GB, free: 15.21 MB / 0.5575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.086e-05/0.676, allocations: 0 / 0.8699 GB, free: 15.21 MB / 0.5575 GB Notification: Performance of sort global known variables: time 5.756e-05/0.6761, allocations: 99.27 kB / 0.87 GB, free: 15.12 MB / 0.5575 GB Notification: Performance of remove unused functions: time 0.001414/0.6775, allocations: 43.69 kB / 0.87 GB, free: 15.07 MB / 0.5575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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.0001468/0.6776, allocations: 103.2 kB / 0.8701 GB, free: 14.96 MB / 0.5575 GB Notification: Performance of simCode: created initialization part: time 0.0002129/0.6779, allocations: 87.91 kB / 0.8702 GB, free: 14.88 MB / 0.5575 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.6779, allocations: 0 / 0.8702 GB, free: 14.88 MB / 0.5575 GB Notification: Performance of simCode: created simulation system equations: time 7.135e-05/0.6779, allocations: 31.92 kB / 0.8702 GB, free: 14.85 MB / 0.5575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001897/0.6781, allocations: 10.61 kB / 0.8703 GB, free: 14.84 MB / 0.5575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008172/0.679, allocations: 197 kB / 0.8704 GB, free: 14.61 MB / 0.5575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003131/0.6793, allocations: 0.723 MB / 0.8711 GB, free: 13.86 MB / 0.5575 GB Notification: Performance of SimCode: time 3.71e-07/0.6793, allocations: 0 / 0.8711 GB, free: 13.86 MB / 0.5575 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.PowerInterface.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Movers_BaseClasses_Validation_PowerInterface_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Movers_BaseClasses_Validation_PowerInterface.fmu > BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe 2>&1)