Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.SpeedControlled_Nrpm.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.Validation.SpeedControlled_Nrpm,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Movers_Validation_SpeedControlled_Nrpm",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Movers.Validation.SpeedControlled_Nrpm,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Movers_Validation_SpeedControlled_Nrpm",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.8257/0.8257, allocations: 127.4 MB / 134.6 MB, free: 4.125 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.001719/0.001719, allocations: 173.3 kB / 164.4 MB, free: 6.875 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.812/1.812, allocations: 205.1 MB / 399.1 MB, free: 6.082 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.001033/0.001033, allocations: 85.33 kB / 476.3 MB, free: 8.84 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3437/0.3448, allocations: 82.89 MB / 0.5461 GB, free: 42.66 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1854/0.5302, allocations: 76.75 MB / 0.621 GB, free: 13.84 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.11/5.64, allocations: 2.19 GB / 2.811 GB, free: 16.5 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002714/5.64, allocations: 92.98 kB / 2.811 GB, free: 16.41 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 351 * Number of variables: 351 Notification: Performance of Generate backend data structure: time 5.845/11.49, allocations: 1.523 GB / 4.334 GB, free: 2.199 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.025e-05/11.49, allocations: 12 kB / 4.334 GB, free: 2.188 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008137/11.49, allocations: 0.9723 MB / 4.335 GB, free: 1.211 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01324/11.51, allocations: 3.151 MB / 4.338 GB, free: 13.98 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002491/11.51, allocations: 48 kB / 4.338 GB, free: 13.93 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001092/11.51, allocations: 92 kB / 4.338 GB, free: 13.84 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00506/11.51, allocations: 1.341 MB / 4.34 GB, free: 12.5 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005662/11.52, allocations: 1.501 MB / 4.341 GB, free: 10.94 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.101e-05/11.52, allocations: 4 kB / 4.341 GB, free: 10.93 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003123/11.52, allocations: 7.938 kB / 4.341 GB, free: 10.93 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.938e-05/11.52, allocations: 46.69 kB / 4.341 GB, free: 10.88 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01529/11.53, allocations: 7.827 MB / 4.349 GB, free: 2.512 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001776/11.54, allocations: 1.004 MB / 4.35 GB, free: 1.492 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001002/11.54, allocations: 0.6005 MB / 4.35 GB, free: 0.8906 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004264/11.54, allocations: 288 kB / 4.351 GB, free: 0.5508 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.413e-05/11.54, allocations: 43.34 kB / 4.351 GB, free: 0.5 MB / 0.698 GB Notification: Performance of pre-optimization done (n=84): time 3.045e-06/11.54, allocations: 0 / 4.351 GB, free: 0.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=84): time 0.4692/12.01, allocations: 1.467 MB / 4.352 GB, free: 123.6 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.952e-05/12.01, allocations: 60.09 kB / 4.352 GB, free: 123.6 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002459/12.01, allocations: 1.361 MB / 4.353 GB, free: 123.4 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001654/12.01, allocations: 28.73 kB / 4.353 GB, free: 123.4 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004114/12.01, allocations: 0.6371 MB / 4.354 GB, free: 123.2 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002917/12.01, allocations: 286.2 kB / 4.354 GB, free: 123.1 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.569e-05/12.01, allocations: 0 / 4.354 GB, free: 123.1 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001048/12.01, allocations: 349.1 kB / 4.355 GB, free: 122.8 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006251/12.01, allocations: 432.9 kB / 4.355 GB, free: 122.8 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007828/12.01, allocations: 0.8257 MB / 4.356 GB, free: 122.3 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001382/12.01, allocations: 0.5981 MB / 4.356 GB, free: 122.3 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.073e-06/12.01, allocations: 0 / 4.356 GB, free: 122.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.004432/12.02, allocations: 1.686 MB / 4.358 GB, free: 122.1 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.001095/12.02, allocations: 3.768 MB / 4.362 GB, free: 118.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.107e-05/12.02, allocations: 9.625 kB / 4.362 GB, free: 118.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001082/12.02, allocations: 328.5 kB / 4.362 GB, free: 118.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001861/12.02, allocations: 287.7 kB / 4.362 GB, free: 118.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004353/12.03, allocations: 3.676 MB / 4.366 GB, free: 115.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002521/12.03, allocations: 180.3 kB / 4.366 GB, free: 115.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002315/12.03, allocations: 79.48 kB / 4.366 GB, free: 115.3 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/12.03, allocations: 6.469 kB / 4.366 GB, free: 115.3 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003577/12.03, allocations: 1.316 MB / 4.368 GB, free: 115.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.654e-05/12.03, allocations: 13.67 kB / 4.368 GB, free: 115.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001162/12.03, allocations: 301.4 kB / 4.368 GB, free: 115.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009491/12.04, allocations: 243.7 kB / 4.368 GB, free: 115.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006451/12.04, allocations: 4.91 MB / 4.373 GB, free: 111.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002202/12.04, allocations: 144.8 kB / 4.373 GB, free: 111.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001411/12.04, allocations: 71.3 kB / 4.373 GB, free: 111.9 MB / 0.698 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: 41 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (117): * Single equations (assignments): 111 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 4,1 8,1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0005078/12.04, allocations: 142.7 kB / 4.373 GB, free: 111.8 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003195/12.05, allocations: 192.6 kB / 4.373 GB, free: 111.7 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005031/12.05, allocations: 1.504 MB / 4.375 GB, free: 111.6 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.267e-05/12.05, allocations: 8.281 kB / 4.375 GB, free: 111.6 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/12.05, allocations: 3.969 kB / 4.375 GB, free: 111.6 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003774/12.05, allocations: 1.282 MB / 4.376 GB, free: 111.4 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009796/12.06, allocations: 2.922 MB / 4.379 GB, free: 111 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.893e-06/12.06, allocations: 7.031 kB / 4.379 GB, free: 111 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00168/12.07, allocations: 230.2 kB / 4.379 GB, free: 111 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007309/12.07, allocations: 253.1 kB / 4.379 GB, free: 111 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001027/12.07, allocations: 18.25 kB / 4.379 GB, free: 111 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004764/12.07, allocations: 4.23 MB / 4.384 GB, free: 107.5 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.021e-06/12.07, allocations: 0 / 4.384 GB, free: 107.5 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005665/12.08, allocations: 2.084 MB / 4.386 GB, free: 107.1 MB / 0.698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.007074/12.08, allocations: 3.232 MB / 4.389 GB, free: 106.3 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001377/12.09, allocations: 368.9 kB / 4.389 GB, free: 106.1 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007324/12.09, allocations: 6.203 kB / 4.389 GB, free: 106.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00193/12.09, allocations: 111.4 kB / 4.389 GB, free: 106.1 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001432/12.09, allocations: 52.19 kB / 4.389 GB, free: 106.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001227/12.09, allocations: 39.23 kB / 4.389 GB, free: 106.1 MB / 0.698 GB Notification: Performance of sort global known variables: time 0.002471/12.09, allocations: 1.03 MB / 4.39 GB, free: 105.9 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.01065/12.1, allocations: 2.432 MB / 4.393 GB, free: 105.9 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (floMacDyn.vol.dynBal.U,floMacDyn.vol.dynBal.m,floMacDyn.vol.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (71): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 6,1 4,1 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.008316/12.11, allocations: 4.741 MB / 4.397 GB, free: 104.2 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.006823/12.12, allocations: 2.14 MB / 4.399 GB, free: 103.9 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.056e-05/12.12, allocations: 2.125 kB / 4.399 GB, free: 103.9 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.002555/12.12, allocations: 0.6672 MB / 4.4 GB, free: 103.8 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006165/12.13, allocations: 0.8673 MB / 4.401 GB, free: 103.7 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009321/12.13, allocations: 2.885 MB / 4.404 GB, free: 103 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003157/12.14, allocations: 1.809 MB / 4.406 GB, free: 102.3 MB / 0.698 GB Notification: Performance of SimCode: time 1.413e-06/12.14, allocations: 4.062 kB / 4.406 GB, free: 102.3 MB / 0.698 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.SpeedControlled_Nrpm.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.SpeedControlled_Nrpm.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.SpeedControlled_Nrpm.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.SpeedControlled_Nrpm.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Movers_Validation_SpeedControlled_Nrpm_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 BuildSysPro_BuildSysPro_IBPSA_Fluid_Movers_Validation_SpeedControlled_Nrpm.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.SpeedControlled_Nrpm.pipe 2>&1)