Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Movers.BaseClasses.Validation.PowerInterface.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/IBPSA 4.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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.Movers.BaseClasses.Validation.PowerInterface,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Movers_BaseClasses_Validation_PowerInterface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Movers.BaseClasses.Validation.PowerInterface,fileNamePrefix="IBPSA_latest_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/Complex 4.0.0+maint.om/package.mo): time 0.001054/0.001053, allocations: 192.5 kB / 7.806 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4784/0.4784, allocations: 90.85 MB / 99.07 MB, free: 14.96 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.262/1.262, allocations: 221.4 MB / 342.8 MB, free: 5.227 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00102/0.00102, allocations: 92.23 kB / 415.5 MB, free: 9.863 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1915/0.1925, allocations: 78.46 MB / 494 MB, free: 11.47 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3719/0.5645, allocations: 72.3 MB / 0.553 GB, free: 44.78 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1295/0.6941, allocations: 101.8 MB / 0.6524 GB, free: 6.867 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002747/0.6944, allocations: 75.95 kB / 0.6525 GB, free: 6.793 MB / 474.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.01099/0.7054, allocations: 3.422 MB / 0.6558 GB, free: 3.332 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.889e-05/0.7055, allocations: 15.98 kB / 0.6558 GB, free: 3.316 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001285/0.7068, allocations: 155.7 kB / 0.656 GB, free: 3.164 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001537/0.707, allocations: 170.9 kB / 0.6561 GB, free: 2.957 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.095e-05/0.707, allocations: 4 kB / 0.6561 GB, free: 2.953 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.184e-05/0.707, allocations: 7.938 kB / 0.6561 GB, free: 2.945 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002383/0.7073, allocations: 79.97 kB / 0.6562 GB, free: 2.867 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002126/0.7075, allocations: 117.9 kB / 0.6563 GB, free: 2.75 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/0.7076, allocations: 3.906 kB / 0.6563 GB, free: 2.746 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.064e-05/0.7076, allocations: 0 / 0.6563 GB, free: 2.746 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.528e-06/0.7076, allocations: 4 kB / 0.6563 GB, free: 2.742 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001372/0.709, allocations: 468.6 kB / 0.6568 GB, free: 2.246 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000383/0.7094, allocations: 90.69 kB / 0.6569 GB, free: 2.148 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.17e-05/0.7094, allocations: 20.84 kB / 0.6569 GB, free: 2.125 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.295e-05/0.7095, allocations: 0 / 0.6569 GB, free: 2.125 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.277e-05/0.7095, allocations: 34.56 kB / 0.6569 GB, free: 2.082 MB / 474.7 MB Notification: Performance of pre-optimization done (n=3): time 1.272e-06/0.7095, allocations: 0 / 0.6569 GB, free: 2.082 MB / 474.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002578/0.7098, allocations: 81.72 kB / 0.657 GB, free: 1.996 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.029e-05/0.7098, allocations: 55.34 kB / 0.657 GB, free: 1.93 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001415/0.71, allocations: 137.1 kB / 0.6572 GB, free: 1.785 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.016e-05/0.71, allocations: 25.7 kB / 0.6572 GB, free: 1.754 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.817e-05/0.7101, allocations: 107.8 kB / 0.6573 GB, free: 1.645 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.869e-05/0.7101, allocations: 15.83 kB / 0.6573 GB, free: 1.629 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.268e-05/0.7101, allocations: 0 / 0.6573 GB, free: 1.629 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001169/0.7102, allocations: 315.5 kB / 0.6576 GB, free: 1.312 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.711e-05/0.7103, allocations: 31.98 kB / 0.6577 GB, free: 1.281 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.736e-05/0.7104, allocations: 50.56 kB / 0.6577 GB, free: 1.223 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.833e-05/0.7105, allocations: 27.98 kB / 0.6577 GB, free: 1.195 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.7105, allocations: 0 / 0.6577 GB, free: 1.195 MB / 474.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002413/0.7108, allocations: 105.5 kB / 0.6578 GB, free: 1.086 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001227/0.7109, allocations: 273.9 kB / 0.6581 GB, free: 0.8008 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.7109, allocations: 0 / 0.6581 GB, free: 0.8008 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.167e-05/0.7109, allocations: 4.844 kB / 0.6581 GB, free: 0.7969 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004201/0.7114, allocations: 59.92 kB / 0.6582 GB, free: 0.7383 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.7114, allocations: 3.938 kB / 0.6582 GB, free: 0.7344 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004673/0.7118, allocations: 43.95 kB / 0.6582 GB, free: 0.6914 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.625e-05/0.7119, allocations: 11.98 kB / 0.6582 GB, free: 0.6797 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.072e-05/0.7119, allocations: 11.84 kB / 0.6582 GB, free: 0.668 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001613/0.7121, allocations: 39.98 kB / 0.6583 GB, free: 0.6289 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.833e-06/0.7121, allocations: 0 / 0.6583 GB, free: 0.6289 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.246e-06/0.7121, allocations: 0 / 0.6583 GB, free: 0.6289 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001758/0.7123, allocations: 28.77 kB / 0.6583 GB, free: 0.6016 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.977e-06/0.7123, allocations: 7.578 kB / 0.6583 GB, free: 0.5977 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001988/0.7125, allocations: 23.97 kB / 0.6583 GB, free: 0.5742 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.067e-05/0.7125, allocations: 0 / 0.6583 GB, free: 0.5742 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 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 9.571e-05/0.7126, allocations: 104.9 kB / 0.6584 GB, free: 476 kB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.973e-05/0.7127, allocations: 11.91 kB / 0.6584 GB, free: 464 kB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.497e-05/0.7127, allocations: 16.11 kB / 0.6584 GB, free: 444 kB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.7127, allocations: 0 / 0.6584 GB, free: 444 kB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.7127, allocations: 0 / 0.6584 GB, free: 444 kB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.7127, allocations: 1.031 kB / 0.6584 GB, free: 444 kB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000209/0.713, allocations: 182.3 kB / 0.6586 GB, free: 224 kB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.713, allocations: 4 kB / 0.6586 GB, free: 220 kB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002854/0.7133, allocations: 39.95 kB / 0.6587 GB, free: 180 kB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.255e-06/0.7133, allocations: 0 / 0.6587 GB, free: 180 kB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.887e-05/0.7133, allocations: 11.98 kB / 0.6587 GB, free: 168 kB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.137e-06/0.7133, allocations: 3.906 kB / 0.6587 GB, free: 164 kB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.265e-06/0.7133, allocations: 3.938 kB / 0.6587 GB, free: 160 kB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002204/0.7136, allocations: 171.4 kB / 0.6588 GB, free: 15.97 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003026/0.7139, allocations: 0.539 MB / 0.6594 GB, free: 15.41 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.092e-05/0.714, allocations: 97 kB / 0.6595 GB, free: 15.3 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.616e-05/0.714, allocations: 5.578 kB / 0.6595 GB, free: 15.3 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003529/0.7144, allocations: 31.97 kB / 0.6595 GB, free: 15.27 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.948e-05/0.7144, allocations: 4 kB / 0.6595 GB, free: 15.26 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.36e-05/0.7144, allocations: 3.984 kB / 0.6595 GB, free: 15.26 MB / 490.7 MB Notification: Performance of sort global known variables: time 8.758e-05/0.7145, allocations: 123.2 kB / 0.6596 GB, free: 15.14 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001514/0.716, allocations: 43.84 kB / 0.6597 GB, free: 15.09 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (3): * Single equations (assignments): 3 * 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.0001392/0.7162, allocations: 107.1 kB / 0.6598 GB, free: 14.98 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0002459/0.7164, allocations: 91.83 kB / 0.6599 GB, free: 14.89 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.7164, allocations: 0 / 0.6599 GB, free: 14.89 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 6.051e-05/0.7165, allocations: 27.98 kB / 0.6599 GB, free: 14.86 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001945/0.7167, allocations: 4 kB / 0.6599 GB, free: 14.86 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007115/0.7174, allocations: 160 kB / 0.66 GB, free: 14.68 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004001/0.7179, allocations: 0.7188 MB / 0.6607 GB, free: 13.93 MB / 490.7 MB Notification: Performance of SimCode: time 2.61e-07/0.7179, allocations: 3.281 kB / 0.6607 GB, free: 13.93 MB / 490.7 MB (rm -f IBPSA_latest_IBPSA.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Movers.BaseClasses.Validation.PowerInterface.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Movers_BaseClasses_Validation_PowerInterface_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Movers_BaseClasses_Validation_PowerInterface.fmu > IBPSA_latest_IBPSA.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe 2>&1)