Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Movers.Validation.Pump_stratos.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.Validation.Pump_stratos,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Movers_Validation_Pump_stratos",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Movers.Validation.Pump_stratos,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Movers_Validation_Pump_stratos",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.7606/0.7606, allocations: 141.8 MB / 149.1 MB, free: 13.12 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.001198/0.001198, allocations: 180.4 kB / 181.9 MB, free: 9.793 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.234/1.234, allocations: 221.3 MB / 436 MB, free: 2.18 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.0009402/0.0009403, allocations: 102.2 kB / 0.507 GB, free: 10.95 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001823/0.001824, allocations: 268.1 kB / 0.5884 GB, free: 7.781 MB / 474.9 MB Notification: Performance of FrontEnd - loaded program: time 0.1692/0.171, allocations: 89.65 MB / 0.676 GB, free: 14.05 MB / 0.5575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3031/0.4742, allocations: 82.76 MB / 0.7568 GB, free: 139 MB / 0.5575 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.652/4.126, allocations: 2.15 GB / 2.907 GB, free: 161.5 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00022/4.127, allocations: 95.94 kB / 2.907 GB, free: 161.4 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: 292 * Number of variables: 292 Notification: Performance of Generate backend data structure: time 2.617/6.743, allocations: 0.8846 GB / 3.791 GB, free: 48.66 MB / 0.6982 GB Notification: Performance of prepare preOptimizeDAE: time 3.664e-05/6.744, allocations: 11.62 kB / 3.791 GB, free: 48.65 MB / 0.6982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003361/6.747, allocations: 0.5781 MB / 3.792 GB, free: 48.09 MB / 0.6982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03888/6.786, allocations: 17.85 MB / 3.809 GB, free: 30.49 MB / 0.6982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.108e-05/6.786, allocations: 36 kB / 3.809 GB, free: 30.46 MB / 0.6982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004387/6.786, allocations: 88 kB / 3.809 GB, free: 30.37 MB / 0.6982 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002373/6.789, allocations: 1.237 MB / 3.811 GB, free: 29.13 MB / 0.6982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002373/6.791, allocations: 1.39 MB / 3.812 GB, free: 27.67 MB / 0.6982 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.315e-05/6.791, allocations: 3.219 kB / 3.812 GB, free: 27.67 MB / 0.6982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001338/6.791, allocations: 0 / 3.812 GB, free: 27.67 MB / 0.6982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.846e-05/6.791, allocations: 32 kB / 3.812 GB, free: 27.64 MB / 0.6982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01142/6.803, allocations: 8.383 MB / 3.82 GB, free: 18.87 MB / 0.6982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001426/6.804, allocations: 1.153 MB / 3.821 GB, free: 17.71 MB / 0.6982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008138/6.805, allocations: 0.6695 MB / 3.822 GB, free: 17.04 MB / 0.6982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00454/6.81, allocations: 3.05 MB / 3.825 GB, free: 13.82 MB / 0.6982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.682e-05/6.81, allocations: 43.06 kB / 3.825 GB, free: 13.76 MB / 0.6982 GB Notification: Performance of pre-optimization done (n=61): time 2.044e-06/6.81, allocations: 3.938 kB / 3.825 GB, free: 13.76 MB / 0.6982 GB Notification: Performance of matching and sorting (n=61): time 0.003579/6.813, allocations: 1.764 MB / 3.827 GB, free: 11.98 MB / 0.6982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.989e-05/6.813, allocations: 59.91 kB / 3.827 GB, free: 11.91 MB / 0.6982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004522/6.818, allocations: 2.795 MB / 3.83 GB, free: 9.105 MB / 0.6982 GB Notification: Performance of collectPreVariables (initialization): time 0.0001148/6.818, allocations: 29.7 kB / 3.83 GB, free: 9.07 MB / 0.6982 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004369/6.818, allocations: 0.675 MB / 3.83 GB, free: 8.387 MB / 0.6982 GB Notification: Performance of collectInitialBindings (initialization): time 0.00023/6.819, allocations: 204.9 kB / 3.83 GB, free: 8.184 MB / 0.6982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.041e-05/6.819, allocations: 0 / 3.83 GB, free: 8.184 MB / 0.6982 GB Notification: Performance of setup shared object (initialization): time 8e-05/6.819, allocations: 353.9 kB / 3.831 GB, free: 7.832 MB / 0.6982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006998/6.819, allocations: 0.6039 MB / 3.831 GB, free: 7.227 MB / 0.6982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000895/6.82, allocations: 1.161 MB / 3.832 GB, free: 5.797 MB / 0.6982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001861/6.822, allocations: 0.8381 MB / 3.833 GB, free: 4.961 MB / 0.6982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.958e-06/6.822, allocations: 8 kB / 3.833 GB, free: 4.953 MB / 0.6982 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.004086/6.826, allocations: 2.22 MB / 3.835 GB, free: 2.715 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 0.001798/6.828, allocations: 6.181 MB / 3.841 GB, free: 12.08 MB / 0.7138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.85e-05/6.828, allocations: 16 kB / 3.841 GB, free: 12.06 MB / 0.7138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00116/6.829, allocations: 485.8 kB / 3.842 GB, free: 11.58 MB / 0.7138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001025/6.83, allocations: 239.6 kB / 3.842 GB, free: 11.35 MB / 0.7138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002635/6.833, allocations: 2.589 MB / 3.845 GB, free: 8.684 MB / 0.7138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002192/6.835, allocations: 182.7 kB / 3.845 GB, free: 8.504 MB / 0.7138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002268/6.836, allocations: 120 kB / 3.845 GB, free: 8.387 MB / 0.7138 GB Notification: Performance of prepare postOptimizeDAE: time 1.002e-05/6.836, allocations: 4 kB / 3.845 GB, free: 8.383 MB / 0.7138 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004072/6.84, allocations: 1.744 MB / 3.847 GB, free: 6.629 MB / 0.7138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.552e-05/6.84, allocations: 19.06 kB / 3.847 GB, free: 6.613 MB / 0.7138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001489/6.841, allocations: 0.5798 MB / 3.847 GB, free: 6.031 MB / 0.7138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009422/6.842, allocations: 223.6 kB / 3.848 GB, free: 5.812 MB / 0.7138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01228/6.854, allocations: 7.966 MB / 3.855 GB, free: 13.66 MB / 0.7294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002274/6.857, allocations: 151.1 kB / 3.855 GB, free: 13.51 MB / 0.7294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002857/6.857, allocations: 100 kB / 3.856 GB, free: 13.41 MB / 0.7294 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: floMacSta.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (111): * Single equations (assignments): 106 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 4,1 7,1 7} Notification: Performance of prepare postOptimizeDAE: time 0.0004817/6.858, allocations: 146.3 kB / 3.856 GB, free: 13.26 MB / 0.7294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007313/6.858, allocations: 240.8 kB / 3.856 GB, free: 13.02 MB / 0.7294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004432/6.863, allocations: 1.688 MB / 3.858 GB, free: 11.35 MB / 0.7294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.862e-05/6.863, allocations: 11.98 kB / 3.858 GB, free: 11.34 MB / 0.7294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/6.863, allocations: 4 kB / 3.858 GB, free: 11.33 MB / 0.7294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002408/6.865, allocations: 1.363 MB / 3.859 GB, free: 9.902 MB / 0.7294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008822/6.874, allocations: 3.626 MB / 3.862 GB, free: 6.207 MB / 0.7294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.985e-06/6.874, allocations: 3.688 kB / 3.862 GB, free: 6.207 MB / 0.7294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007122/6.875, allocations: 119.9 kB / 3.863 GB, free: 6.09 MB / 0.7294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005711/6.875, allocations: 246.3 kB / 3.863 GB, free: 5.84 MB / 0.7294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.305e-05/6.875, allocations: 23.91 kB / 3.863 GB, free: 5.816 MB / 0.7294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001602/6.877, allocations: 2.033 MB / 3.865 GB, free: 3.711 MB / 0.7294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.518e-06/6.877, allocations: 3.906 kB / 3.865 GB, free: 3.707 MB / 0.7294 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004171/6.881, allocations: 2.103 MB / 3.867 GB, free: 1.555 MB / 0.7294 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.2975/7.179, allocations: 3.151 MB / 3.87 GB, free: 136.3 MB / 0.7294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001498/7.18, allocations: 0.5682 MB / 3.87 GB, free: 136.2 MB / 0.7294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004079/7.181, allocations: 1.562 kB / 3.87 GB, free: 136.2 MB / 0.7294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001216/7.182, allocations: 100.7 kB / 3.871 GB, free: 136.2 MB / 0.7294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.923e-05/7.182, allocations: 45.55 kB / 3.871 GB, free: 136.2 MB / 0.7294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.668e-05/7.182, allocations: 42.59 kB / 3.871 GB, free: 136.2 MB / 0.7294 GB Notification: Performance of sort global known variables: time 0.002874/7.185, allocations: 2.101 MB / 3.873 GB, free: 136 MB / 0.7294 GB Notification: Performance of remove unused functions: time 0.006845/7.192, allocations: 1.648 MB / 3.874 GB, free: 136 MB / 0.7294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (floMacDyn.vol.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 4,1 7,1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.002494/7.194, allocations: 1.332 MB / 3.876 GB, free: 135.9 MB / 0.7294 GB Notification: Performance of simCode: created initialization part: time 0.003776/7.198, allocations: 2.425 MB / 3.878 GB, free: 135.6 MB / 0.7294 GB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/7.198, allocations: 0 / 3.878 GB, free: 135.6 MB / 0.7294 GB Notification: Performance of simCode: created simulation system equations: time 0.0007759/7.199, allocations: 487 kB / 3.878 GB, free: 135.6 MB / 0.7294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004904/7.204, allocations: 1.137 MB / 3.88 GB, free: 135.6 MB / 0.7294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006983/7.211, allocations: 3.346 MB / 3.883 GB, free: 134.8 MB / 0.7294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001912/7.213, allocations: 2.078 MB / 3.885 GB, free: 134.1 MB / 0.7294 GB Notification: Performance of SimCode: time 7.02e-07/7.213, allocations: 3.531 kB / 3.885 GB, free: 134.1 MB / 0.7294 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Movers.Validation.Pump_stratos.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Movers.Validation.Pump_stratos.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Movers.Validation.Pump_stratos.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Movers.Validation.Pump_stratos.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Movers_Validation_Pump_stratos_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Movers_Validation_Pump_stratos.fmu > BuildingSystems_BuildingSystems.Fluid.Movers.Validation.Pump_stratos.pipe 2>&1)