Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.BaseClasses.Validation.PowerInterface.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Movers.BaseClasses.Validation.PowerInterface,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Movers_BaseClasses_Validation_PowerInterface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Movers.BaseClasses.Validation.PowerInterface,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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/BuildSysPro 3.5.0/package.mo): time 0.7475/0.7475, allocations: 127.4 MB / 134.6 MB, free: 4.074 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001406/0.001406, allocations: 189.2 kB / 164.4 MB, free: 6.871 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.661/1.661, allocations: 205.1 MB / 399.1 MB, free: 6.156 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001031/0.001031, allocations: 89.89 kB / 476.3 MB, free: 8.902 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3384/0.3395, allocations: 82.88 MB / 0.5461 GB, free: 42.68 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1733/0.5128, allocations: 76.76 MB / 0.621 GB, free: 13.85 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4778/0.9906, allocations: 102.7 MB / 0.7213 GB, free: 9.676 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002551/0.9909, allocations: 83.95 kB / 0.7214 GB, free: 9.594 MB / 490.7 MB 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.01033/1.001, allocations: 3.406 MB / 0.7247 GB, free: 6.156 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.736e-05/1.001, allocations: 8 kB / 0.7247 GB, free: 6.148 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001615/1.003, allocations: 212.7 kB / 0.7249 GB, free: 5.941 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001017/1.004, allocations: 278.8 kB / 0.7252 GB, free: 5.629 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.865e-05/1.004, allocations: 0 / 0.7252 GB, free: 5.629 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.259e-05/1.004, allocations: 8 kB / 0.7252 GB, free: 5.621 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001969/1.004, allocations: 67.83 kB / 0.7253 GB, free: 5.555 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001898/1.004, allocations: 97.62 kB / 0.7254 GB, free: 5.453 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.749e-06/1.004, allocations: 4 kB / 0.7254 GB, free: 5.449 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.854e-05/1.005, allocations: 0 / 0.7254 GB, free: 5.449 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/1.005, allocations: 0 / 0.7254 GB, free: 5.449 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00118/1.006, allocations: 428.8 kB / 0.7258 GB, free: 4.992 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001486/1.006, allocations: 62.56 kB / 0.7258 GB, free: 4.922 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.524e-05/1.006, allocations: 36.91 kB / 0.7259 GB, free: 4.883 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.093e-05/1.006, allocations: 3.984 kB / 0.7259 GB, free: 4.879 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.113e-05/1.006, allocations: 34.56 kB / 0.7259 GB, free: 4.836 MB / 490.7 MB Notification: Performance of pre-optimization done (n=5): time 1.102e-06/1.006, allocations: 0 / 0.7259 GB, free: 4.836 MB / 490.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002704/1.006, allocations: 89.66 kB / 0.726 GB, free: 4.742 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.277e-05/1.006, allocations: 59.34 kB / 0.726 GB, free: 4.672 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001153/1.006, allocations: 120.9 kB / 0.7262 GB, free: 4.547 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.214e-05/1.006, allocations: 25.7 kB / 0.7262 GB, free: 4.516 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.731e-05/1.007, allocations: 103.9 kB / 0.7263 GB, free: 4.41 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.644e-05/1.007, allocations: 11.81 kB / 0.7263 GB, free: 4.398 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.568e-06/1.007, allocations: 0 / 0.7263 GB, free: 4.398 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001371/1.007, allocations: 318.8 kB / 0.7266 GB, free: 4.078 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.895e-05/1.007, allocations: 28 kB / 0.7266 GB, free: 4.051 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.069e-05/1.007, allocations: 27.97 kB / 0.7266 GB, free: 4.023 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.504e-05/1.007, allocations: 27.98 kB / 0.7267 GB, free: 3.996 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/1.007, allocations: 0 / 0.7267 GB, free: 3.996 MB / 490.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001954/1.007, allocations: 93.58 kB / 0.7268 GB, free: 3.898 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.28e-05/1.007, allocations: 96.92 kB / 0.7269 GB, free: 3.797 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/1.007, allocations: 0 / 0.7269 GB, free: 3.797 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.718e-05/1.007, allocations: 3.906 kB / 0.7269 GB, free: 3.793 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003291/1.008, allocations: 47.95 kB / 0.7269 GB, free: 3.746 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.481e-06/1.008, allocations: 0 / 0.7269 GB, free: 3.746 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00026/1.008, allocations: 35.91 kB / 0.7269 GB, free: 3.711 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.163e-05/1.008, allocations: 11.98 kB / 0.7269 GB, free: 3.699 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.059e-06/1.008, allocations: 0 / 0.7269 GB, free: 3.699 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 7.215e-05/1.008, allocations: 31.98 kB / 0.727 GB, free: 3.668 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.61e-07/1.008, allocations: 4 kB / 0.727 GB, free: 3.664 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-06/1.008, allocations: 0 / 0.727 GB, free: 3.664 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.511e-05/1.008, allocations: 19.98 kB / 0.727 GB, free: 3.645 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.092e-06/1.008, allocations: 3.938 kB / 0.727 GB, free: 3.641 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.502e-05/1.008, allocations: 15.89 kB / 0.727 GB, free: 3.625 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.998e-06/1.008, allocations: 4 kB / 0.727 GB, free: 3.621 MB / 490.7 MB 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 0.0001003/1.008, allocations: 105 kB / 0.7271 GB, free: 3.512 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.396e-05/1.008, allocations: 3.906 kB / 0.7271 GB, free: 3.508 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.486e-05/1.008, allocations: 16.05 kB / 0.7271 GB, free: 3.496 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/1.008, allocations: 0 / 0.7271 GB, free: 3.496 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/1.008, allocations: 0 / 0.7271 GB, free: 3.496 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/1.008, allocations: 11.91 kB / 0.7272 GB, free: 3.484 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005145/1.009, allocations: 360.7 kB / 0.7275 GB, free: 3.082 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/1.009, allocations: 3.938 kB / 0.7275 GB, free: 3.078 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003007/1.009, allocations: 48.02 kB / 0.7275 GB, free: 3.031 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/1.009, allocations: 0 / 0.7275 GB, free: 3.031 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.766e-05/1.009, allocations: 11.92 kB / 0.7276 GB, free: 3.02 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.973e-06/1.009, allocations: 0 / 0.7276 GB, free: 3.02 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/1.009, allocations: 0 / 0.7276 GB, free: 3.02 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002589/1.01, allocations: 224.5 kB / 0.7278 GB, free: 2.766 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003844/1.01, allocations: 0.5907 MB / 0.7284 GB, free: 2.137 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.985e-05/1.01, allocations: 81.02 kB / 0.7284 GB, free: 2.039 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.967e-05/1.01, allocations: 7.984 kB / 0.7284 GB, free: 2.031 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002975/1.01, allocations: 31.97 kB / 0.7285 GB, free: 2 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.985e-05/1.01, allocations: 0 / 0.7285 GB, free: 2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.534e-05/1.011, allocations: 7.984 kB / 0.7285 GB, free: 1.992 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.805e-05/1.011, allocations: 105.5 kB / 0.7286 GB, free: 1.891 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001531/1.012, allocations: 39.84 kB / 0.7286 GB, free: 1.852 MB / 490.7 MB 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.0001774/1.012, allocations: 107.2 kB / 0.7287 GB, free: 1.734 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0002285/1.013, allocations: 87.91 kB / 0.7288 GB, free: 1.648 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/1.013, allocations: 0 / 0.7288 GB, free: 1.648 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 7.951e-05/1.013, allocations: 27.98 kB / 0.7288 GB, free: 1.621 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002309/1.013, allocations: 8 kB / 0.7288 GB, free: 1.613 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008278/1.014, allocations: 189.2 kB / 0.729 GB, free: 1.395 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004326/1.014, allocations: 0.7231 MB / 0.7297 GB, free: 0.6445 MB / 490.7 MB Notification: Performance of SimCode: time 4.3e-07/1.014, allocations: 0 / 0.7297 GB, free: 0.6445 MB / 490.7 MB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.BaseClasses.Validation.PowerInterface.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Movers_BaseClasses_Validation_PowerInterface_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Movers_BaseClasses_Validation_PowerInterface.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe 2>&1)