Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Movers.Validation.SpeedControlled_y.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_y,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Movers_Validation_SpeedControlled_y",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Movers.Validation.SpeedControlled_y,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Movers_Validation_SpeedControlled_y",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.7372/0.7372, allocations: 141.8 MB / 149.1 MB, free: 1.492 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.001056/0.001055, allocations: 177.2 kB / 181.9 MB, free: 0.8672 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.367/1.367, allocations: 221.4 MB / 436 MB, free: 5.488 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.0009755/0.0009754, allocations: 99.91 kB / 0.507 GB, free: 2.172 MB / 410.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001889/0.001889, allocations: 264.3 kB / 0.5884 GB, free: 47.32 MB / 410.9 MB Notification: Performance of FrontEnd - loaded program: time 0.427/0.429, allocations: 89.62 MB / 0.676 GB, free: 59.7 MB / 442.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1802/0.6092, allocations: 82.79 MB / 0.7568 GB, free: 0.6758 MB / 442.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.419/4.029, allocations: 1.905 GB / 2.661 GB, free: 165.3 MB / 0.7138 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002683/4.029, allocations: 96.41 kB / 2.662 GB, free: 165.3 MB / 0.7138 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.894/8.923, allocations: 1.556 GB / 4.218 GB, free: 82.42 MB / 0.7607 GB Notification: Performance of prepare preOptimizeDAE: time 4.506e-05/8.923, allocations: 7.281 kB / 4.218 GB, free: 82.42 MB / 0.7607 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006982/8.93, allocations: 0.9034 MB / 4.218 GB, free: 82.28 MB / 0.7607 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00997/8.94, allocations: 3.066 MB / 4.221 GB, free: 81.85 MB / 0.7607 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001111/8.94, allocations: 48.75 kB / 4.221 GB, free: 81.85 MB / 0.7607 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006864/8.941, allocations: 90.06 kB / 4.222 GB, free: 81.85 MB / 0.7607 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003452/8.944, allocations: 1.341 MB / 4.223 GB, free: 81.84 MB / 0.7607 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003126/8.947, allocations: 1.5 MB / 4.224 GB, free: 81.66 MB / 0.7607 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.548e-05/8.947, allocations: 0 / 4.224 GB, free: 81.66 MB / 0.7607 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001393/8.948, allocations: 7.234 kB / 4.224 GB, free: 81.66 MB / 0.7607 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.11e-05/8.948, allocations: 52.05 kB / 4.224 GB, free: 81.65 MB / 0.7607 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01063/8.958, allocations: 7.826 MB / 4.232 GB, free: 77.9 MB / 0.7607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001318/8.96, allocations: 0.9887 MB / 4.233 GB, free: 77.85 MB / 0.7607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008221/8.961, allocations: 0.6113 MB / 4.234 GB, free: 77.83 MB / 0.7607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002946/8.961, allocations: 288.1 kB / 4.234 GB, free: 77.55 MB / 0.7607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.363e-05/8.961, allocations: 42.03 kB / 4.234 GB, free: 77.51 MB / 0.7607 GB Notification: Performance of pre-optimization done (n=85): time 2.796e-06/8.961, allocations: 0 / 4.234 GB, free: 77.51 MB / 0.7607 GB Notification: Performance of matching and sorting (n=85): time 0.004267/8.965, allocations: 1.399 MB / 4.235 GB, free: 77.34 MB / 0.7607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.225e-05/8.965, allocations: 58.34 kB / 4.235 GB, free: 77.27 MB / 0.7607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002065/8.967, allocations: 1.368 MB / 4.237 GB, free: 77.07 MB / 0.7607 GB Notification: Performance of collectPreVariables (initialization): time 0.0001373/8.967, allocations: 28.52 kB / 4.237 GB, free: 77.04 MB / 0.7607 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003767/8.968, allocations: 0.6346 MB / 4.237 GB, free: 76.78 MB / 0.7607 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003138/8.968, allocations: 282.5 kB / 4.238 GB, free: 76.63 MB / 0.7607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.25e-05/8.968, allocations: 3.531 kB / 4.238 GB, free: 76.63 MB / 0.7607 GB Notification: Performance of setup shared object (initialization): time 0.0001034/8.968, allocations: 347.6 kB / 4.238 GB, free: 76.33 MB / 0.7607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005604/8.969, allocations: 423.2 kB / 4.238 GB, free: 76.32 MB / 0.7607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008119/8.97, allocations: 0.8444 MB / 4.239 GB, free: 75.8 MB / 0.7607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001314/8.971, allocations: 0.5929 MB / 4.24 GB, free: 75.79 MB / 0.7607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.993e-06/8.971, allocations: 2.594 kB / 4.24 GB, free: 75.79 MB / 0.7607 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.003759/8.975, allocations: 1.644 MB / 4.241 GB, free: 75.62 MB / 0.7607 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007801/8.976, allocations: 3.857 MB / 4.245 GB, free: 71.63 MB / 0.7607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.742e-05/8.976, allocations: 9.844 kB / 4.245 GB, free: 71.63 MB / 0.7607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009674/8.977, allocations: 304.9 kB / 4.245 GB, free: 71.61 MB / 0.7607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001151/8.978, allocations: 262.4 kB / 4.246 GB, free: 71.6 MB / 0.7607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003296/8.981, allocations: 3.628 MB / 4.249 GB, free: 68.79 MB / 0.7607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002016/8.983, allocations: 172.3 kB / 4.249 GB, free: 68.76 MB / 0.7607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001433/8.983, allocations: 79.8 kB / 4.249 GB, free: 68.76 MB / 0.7607 GB Notification: Performance of prepare postOptimizeDAE: time 8.306e-06/8.983, allocations: 7.875 kB / 4.249 GB, free: 68.75 MB / 0.7607 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00332/8.987, allocations: 1.327 MB / 4.251 GB, free: 68.71 MB / 0.7607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.606e-05/8.987, allocations: 11.12 kB / 4.251 GB, free: 68.71 MB / 0.7607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001129/8.988, allocations: 317.1 kB / 4.251 GB, free: 68.68 MB / 0.7607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009318/8.989, allocations: 230.2 kB / 4.251 GB, free: 68.68 MB / 0.7607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005973/8.995, allocations: 4.956 MB / 4.256 GB, free: 65.34 MB / 0.7607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001989/8.997, allocations: 150.7 kB / 4.256 GB, free: 65.32 MB / 0.7607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001827/8.997, allocations: 66.09 kB / 4.256 GB, free: 65.32 MB / 0.7607 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.0004699/8.997, allocations: 136.2 kB / 4.256 GB, free: 65.22 MB / 0.7607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005745/8.998, allocations: 198.7 kB / 4.257 GB, free: 65.11 MB / 0.7607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00387/9.002, allocations: 1.401 MB / 4.258 GB, free: 65 MB / 0.7607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.434e-06/9.002, allocations: 6.688 kB / 4.258 GB, free: 65 MB / 0.7607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.394e-06/9.002, allocations: 1.344 kB / 4.258 GB, free: 65 MB / 0.7607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002428/9.004, allocations: 1.172 MB / 4.259 GB, free: 64.79 MB / 0.7607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006023/9.01, allocations: 2.916 MB / 4.262 GB, free: 64.33 MB / 0.7607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.768e-06/9.01, allocations: 9.953 kB / 4.262 GB, free: 64.33 MB / 0.7607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009925/9.011, allocations: 180.4 kB / 4.262 GB, free: 64.33 MB / 0.7607 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005789/9.012, allocations: 225.4 kB / 4.262 GB, free: 64.31 MB / 0.7607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.137e-05/9.012, allocations: 25.81 kB / 4.262 GB, free: 64.3 MB / 0.7607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002597/9.015, allocations: 3.471 MB / 4.266 GB, free: 61.49 MB / 0.7607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/9.015, allocations: 3 kB / 4.266 GB, free: 61.49 MB / 0.7607 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003646/9.018, allocations: 1.994 MB / 4.268 GB, free: 61.05 MB / 0.7607 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004931/9.023, allocations: 3.139 MB / 4.271 GB, free: 60.24 MB / 0.7607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009612/9.024, allocations: 364.3 kB / 4.271 GB, free: 60.05 MB / 0.7607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000276/9.025, allocations: 18.58 kB / 4.271 GB, free: 60.04 MB / 0.7607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001247/9.026, allocations: 101.6 kB / 4.271 GB, free: 60.04 MB / 0.7607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001067/9.026, allocations: 49.67 kB / 4.271 GB, free: 60.04 MB / 0.7607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.568e-05/9.026, allocations: 41.5 kB / 4.271 GB, free: 60.04 MB / 0.7607 GB Notification: Performance of sort global known variables: time 0.001476/9.027, allocations: 1.029 MB / 4.272 GB, free: 59.89 MB / 0.7607 GB Notification: Performance of remove unused functions: time 0.008145/9.036, allocations: 2.464 MB / 4.275 GB, free: 59.71 MB / 0.7607 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.005963/9.042, allocations: 4.695 MB / 4.279 GB, free: 57.93 MB / 0.7607 GB Notification: Performance of simCode: created initialization part: time 0.003754/9.045, allocations: 2.081 MB / 4.281 GB, free: 57.61 MB / 0.7607 GB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/9.045, allocations: 0 / 4.281 GB, free: 57.61 MB / 0.7607 GB Notification: Performance of simCode: created simulation system equations: time 0.0008944/9.046, allocations: 0.5902 MB / 4.282 GB, free: 57.5 MB / 0.7607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003879/9.05, allocations: 0.8873 MB / 4.283 GB, free: 57.47 MB / 0.7607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00585/9.056, allocations: 2.895 MB / 4.286 GB, free: 56.74 MB / 0.7607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001562/9.058, allocations: 1.807 MB / 4.287 GB, free: 56 MB / 0.7607 GB Notification: Performance of SimCode: time 2.194e-06/9.058, allocations: 0 / 4.287 GB, free: 56 MB / 0.7607 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Movers.Validation.SpeedControlled_y.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Movers.Validation.SpeedControlled_y.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Movers.Validation.SpeedControlled_y.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Movers.Validation.SpeedControlled_y.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Movers_Validation_SpeedControlled_y_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 BuildingSystems_BuildingSystems_Fluid_Movers_Validation_SpeedControlled_y.fmu > BuildingSystems_BuildingSystems.Fluid.Movers.Validation.SpeedControlled_y.pipe 2>&1)