Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Movers.Validation.SpeedControlled_Nrpm.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.SpeedControlled_Nrpm,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Movers_Validation_SpeedControlled_Nrpm",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Movers.Validation.SpeedControlled_Nrpm,fileNamePrefix="BuildingSystems_BuildingSystems_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/BuildingSystems 2.0.0-master/package.mo): time 0.7482/0.7482, allocations: 141.8 MB / 149.1 MB, free: 0.8789 MB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001225/0.001225, allocations: 184.2 kB / 182 MB, free: 13.04 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.402/1.402, allocations: 221.3 MB / 436 MB, free: 5.891 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.001011/0.001011, allocations: 92.27 kB / 0.507 GB, free: 19.05 MB / 378.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001769/0.001769, allocations: 274.1 kB / 0.5885 GB, free: 6.98 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 0.413/0.4148, allocations: 89.63 MB / 0.676 GB, free: 139.9 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.169/0.5838, allocations: 82.78 MB / 0.7568 GB, free: 88.96 MB / 0.5107 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.308/3.892, allocations: 1.905 GB / 2.661 GB, free: 111.2 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001907/3.892, allocations: 87.94 kB / 2.662 GB, free: 111.1 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: 349 * Number of variables: 349 Notification: Performance of Generate backend data structure: time 4.863/8.756, allocations: 1.556 GB / 4.218 GB, free: 76.68 MB / 0.745 GB Notification: Performance of prepare preOptimizeDAE: time 4.587e-05/8.756, allocations: 11.47 kB / 4.218 GB, free: 76.68 MB / 0.745 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006894/8.763, allocations: 0.9054 MB / 4.218 GB, free: 76.54 MB / 0.745 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01056/8.773, allocations: 3.059 MB / 4.221 GB, free: 76.05 MB / 0.745 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001224/8.773, allocations: 53.16 kB / 4.222 GB, free: 76.05 MB / 0.745 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006546/8.774, allocations: 93.12 kB / 4.222 GB, free: 76.05 MB / 0.745 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003753/8.778, allocations: 1.335 MB / 4.223 GB, free: 76.04 MB / 0.745 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003826/8.782, allocations: 1.498 MB / 4.224 GB, free: 75.86 MB / 0.745 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.759e-05/8.782, allocations: 6.844 kB / 4.224 GB, free: 75.86 MB / 0.745 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002306/8.782, allocations: 0 / 4.224 GB, free: 75.86 MB / 0.745 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.477e-05/8.782, allocations: 56.3 kB / 4.224 GB, free: 75.85 MB / 0.745 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01337/8.795, allocations: 7.831 MB / 4.232 GB, free: 72.03 MB / 0.745 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001552/8.797, allocations: 0.9887 MB / 4.233 GB, free: 71.98 MB / 0.745 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009114/8.798, allocations: 0.6105 MB / 4.234 GB, free: 71.96 MB / 0.745 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003262/8.798, allocations: 287.6 kB / 4.234 GB, free: 71.68 MB / 0.745 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.674e-05/8.798, allocations: 41.53 kB / 4.234 GB, free: 71.64 MB / 0.745 GB Notification: Performance of pre-optimization done (n=85): time 3.256e-06/8.798, allocations: 0 / 4.234 GB, free: 71.64 MB / 0.745 GB Notification: Performance of matching and sorting (n=85): time 0.004594/8.803, allocations: 1.397 MB / 4.235 GB, free: 71.47 MB / 0.745 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.544e-05/8.803, allocations: 60.09 kB / 4.235 GB, free: 71.41 MB / 0.745 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002714/8.806, allocations: 1.37 MB / 4.237 GB, free: 71.2 MB / 0.745 GB Notification: Performance of collectPreVariables (initialization): time 0.0001569/8.806, allocations: 28.77 kB / 4.237 GB, free: 71.16 MB / 0.745 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004804/8.806, allocations: 0.6306 MB / 4.237 GB, free: 70.83 MB / 0.745 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003189/8.807, allocations: 289.7 kB / 4.238 GB, free: 70.64 MB / 0.745 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.568e-05/8.807, allocations: 3.562 kB / 4.238 GB, free: 70.64 MB / 0.745 GB Notification: Performance of setup shared object (initialization): time 9.244e-05/8.807, allocations: 345.6 kB / 4.238 GB, free: 70.34 MB / 0.745 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006575/8.808, allocations: 423.7 kB / 4.238 GB, free: 70.33 MB / 0.745 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008557/8.808, allocations: 0.8492 MB / 4.239 GB, free: 69.81 MB / 0.745 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00137/8.81, allocations: 0.5862 MB / 4.24 GB, free: 69.8 MB / 0.745 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.306e-05/8.81, allocations: 6.281 kB / 4.24 GB, free: 69.8 MB / 0.745 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.004276/8.814, allocations: 1.642 MB / 4.241 GB, free: 69.62 MB / 0.745 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008901/8.815, allocations: 3.855 MB / 4.245 GB, free: 65.63 MB / 0.745 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.82e-05/8.815, allocations: 9.469 kB / 4.245 GB, free: 65.63 MB / 0.745 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001024/8.816, allocations: 309.5 kB / 4.245 GB, free: 65.61 MB / 0.745 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001159/8.817, allocations: 245.9 kB / 4.246 GB, free: 65.61 MB / 0.745 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003544/8.821, allocations: 3.643 MB / 4.249 GB, free: 62.79 MB / 0.745 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002336/8.823, allocations: 169.1 kB / 4.249 GB, free: 62.73 MB / 0.745 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000246/8.823, allocations: 86.88 kB / 4.249 GB, free: 62.73 MB / 0.745 GB Notification: Performance of prepare postOptimizeDAE: time 1.261e-05/8.823, allocations: 3.969 kB / 4.249 GB, free: 62.73 MB / 0.745 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00379/8.827, allocations: 1.33 MB / 4.251 GB, free: 62.68 MB / 0.745 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.241e-05/8.827, allocations: 7.344 kB / 4.251 GB, free: 62.68 MB / 0.745 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001185/8.828, allocations: 321.2 kB / 4.251 GB, free: 62.66 MB / 0.745 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009576/8.829, allocations: 227 kB / 4.251 GB, free: 62.66 MB / 0.745 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006421/8.836, allocations: 4.945 MB / 4.256 GB, free: 59.3 MB / 0.745 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002127/8.838, allocations: 151.4 kB / 4.256 GB, free: 59.25 MB / 0.745 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001904/8.838, allocations: 68.75 kB / 4.256 GB, free: 59.25 MB / 0.745 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: 42 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (118): * Single equations (assignments): 112 * 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.0004481/8.839, allocations: 136.7 kB / 4.256 GB, free: 59.14 MB / 0.745 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005865/8.839, allocations: 191.3 kB / 4.257 GB, free: 59.04 MB / 0.745 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004046/8.843, allocations: 1.406 MB / 4.258 GB, free: 58.91 MB / 0.745 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.051e-05/8.843, allocations: 13.44 kB / 4.258 GB, free: 58.91 MB / 0.745 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/8.843, allocations: 0 / 4.258 GB, free: 58.91 MB / 0.745 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002587/8.846, allocations: 1.171 MB / 4.259 GB, free: 58.69 MB / 0.745 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006801/8.853, allocations: 2.913 MB / 4.262 GB, free: 58.21 MB / 0.745 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.602e-06/8.853, allocations: 0 / 4.262 GB, free: 58.21 MB / 0.745 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001022/8.854, allocations: 192.5 kB / 4.262 GB, free: 58.21 MB / 0.745 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006066/8.854, allocations: 217.9 kB / 4.262 GB, free: 58.19 MB / 0.745 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.193e-05/8.855, allocations: 17.28 kB / 4.262 GB, free: 58.19 MB / 0.745 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002763/8.857, allocations: 3.492 MB / 4.266 GB, free: 55.36 MB / 0.745 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.141e-06/8.857, allocations: 7.25 kB / 4.266 GB, free: 55.36 MB / 0.745 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003708/8.861, allocations: 1.983 MB / 4.268 GB, free: 54.92 MB / 0.745 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005207/8.866, allocations: 3.14 MB / 4.271 GB, free: 54.1 MB / 0.745 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001423/8.868, allocations: 365.5 kB / 4.271 GB, free: 53.89 MB / 0.745 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007191/8.868, allocations: 9.906 kB / 4.271 GB, free: 53.89 MB / 0.745 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001857/8.87, allocations: 110.9 kB / 4.271 GB, free: 53.88 MB / 0.745 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001381/8.871, allocations: 48.66 kB / 4.271 GB, free: 53.88 MB / 0.745 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001094/8.871, allocations: 40.02 kB / 4.271 GB, free: 53.88 MB / 0.745 GB Notification: Performance of sort global known variables: time 0.002313/8.873, allocations: 1.032 MB / 4.272 GB, free: 53.74 MB / 0.745 GB Notification: Performance of remove unused functions: time 0.009806/8.883, allocations: 2.469 MB / 4.275 GB, free: 53.54 MB / 0.745 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (73): * Single equations (assignments): 69 * 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,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.007757/8.891, allocations: 4.685 MB / 4.279 GB, free: 51.73 MB / 0.745 GB Notification: Performance of simCode: created initialization part: time 0.00606/8.897, allocations: 2.092 MB / 4.281 GB, free: 51.39 MB / 0.745 GB Notification: Performance of simCode: created event and clocks part: time 6.973e-06/8.897, allocations: 0 / 4.281 GB, free: 51.39 MB / 0.745 GB Notification: Performance of simCode: created simulation system equations: time 0.001298/8.898, allocations: 0.5966 MB / 4.282 GB, free: 51.29 MB / 0.745 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004801/8.903, allocations: 0.8704 MB / 4.283 GB, free: 51.25 MB / 0.745 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008963/8.912, allocations: 2.898 MB / 4.286 GB, free: 50.51 MB / 0.745 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002429/8.914, allocations: 1.825 MB / 4.287 GB, free: 49.77 MB / 0.745 GB Notification: Performance of SimCode: time 8.22e-07/8.914, allocations: 0 / 4.287 GB, free: 49.77 MB / 0.745 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Movers.Validation.SpeedControlled_Nrpm.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Movers.Validation.SpeedControlled_Nrpm.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Movers.Validation.SpeedControlled_Nrpm.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Movers.Validation.SpeedControlled_Nrpm.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Movers_Validation_SpeedControlled_Nrpm_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 BuildingSystems_BuildingSystems_Fluid_Movers_Validation_SpeedControlled_Nrpm.fmu > BuildingSystems_BuildingSystems.Fluid.Movers.Validation.SpeedControlled_Nrpm.pipe 2>&1)