Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.SpeedControlled_Nrpm.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Movers.Validation.SpeedControlled_Nrpm,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Movers_Validation_SpeedControlled_Nrpm",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.Validation.SpeedControlled_Nrpm,fileNamePrefix="Buildings_maint_7_0_x_Buildings_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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.231/1.231, allocations: 249.4 MB / 256.7 MB, free: 15.81 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009911/0.0009912, allocations: 180.7 kB / 316 MB, free: 7.188 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.272/1.272, allocations: 205.1 MB / 0.5667 GB, free: 23.79 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008021/0.0008021, allocations: 90 kB / 0.671 GB, free: 0.9961 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 0.1839/0.1847, allocations: 112.5 MB / 0.7808 GB, free: 436 kB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3658/0.5505, allocations: 106.3 MB / 0.8846 GB, free: 76.25 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.658/4.209, allocations: 2.23 GB / 3.115 GB, free: 221.1 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002666/4.209, allocations: 87.69 kB / 3.115 GB, free: 221.1 MB / 0.8698 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 4.303/8.513, allocations: 1.49 GB / 4.605 GB, free: 63.51 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.869e-05/8.513, allocations: 8 kB / 4.605 GB, free: 63.5 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005595/8.518, allocations: 0.8825 MB / 4.606 GB, free: 62.61 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006897/8.525, allocations: 3.072 MB / 4.609 GB, free: 59.52 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.552e-05/8.525, allocations: 44 kB / 4.609 GB, free: 59.48 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001937/8.525, allocations: 92 kB / 4.609 GB, free: 59.39 MB / 0.9011 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002162/8.528, allocations: 1.349 MB / 4.61 GB, free: 58.04 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00208/8.53, allocations: 1.501 MB / 4.612 GB, free: 56.47 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.253e-05/8.53, allocations: 0 / 4.612 GB, free: 56.47 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001272/8.53, allocations: 4 kB / 4.612 GB, free: 56.47 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.731e-05/8.53, allocations: 50.69 kB / 4.612 GB, free: 56.42 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008735/8.539, allocations: 7.83 MB / 4.619 GB, free: 48.16 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001295/8.54, allocations: 0.9974 MB / 4.62 GB, free: 47.16 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007521/8.541, allocations: 0.6066 MB / 4.621 GB, free: 46.55 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002773/8.541, allocations: 279 kB / 4.621 GB, free: 46.23 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.942e-05/8.541, allocations: 43.34 kB / 4.621 GB, free: 46.18 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=85): time 2.825e-06/8.541, allocations: 3.938 kB / 4.621 GB, free: 46.17 MB / 0.9011 GB Notification: Performance of matching and sorting (n=85): time 0.003683/8.545, allocations: 1.395 MB / 4.623 GB, free: 44.76 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.104e-05/8.545, allocations: 60.19 kB / 4.623 GB, free: 44.68 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001478/8.546, allocations: 1.363 MB / 4.624 GB, free: 43.29 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 8.452e-05/8.546, allocations: 33.62 kB / 4.624 GB, free: 43.25 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002733/8.547, allocations: 0.6364 MB / 4.625 GB, free: 42.6 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002119/8.547, allocations: 287.7 kB / 4.625 GB, free: 42.31 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.96e-05/8.547, allocations: 0 / 4.625 GB, free: 42.31 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 7.137e-05/8.547, allocations: 353.8 kB / 4.625 GB, free: 41.96 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005177/8.548, allocations: 418.5 kB / 4.626 GB, free: 41.55 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006685/8.548, allocations: 0.8377 MB / 4.627 GB, free: 40.52 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001106/8.549, allocations: 0.5968 MB / 4.627 GB, free: 39.93 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.109e-06/8.549, allocations: 4 kB / 4.627 GB, free: 39.93 MB / 0.9011 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.003167/8.553, allocations: 1.636 MB / 4.629 GB, free: 38.28 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006032/8.553, allocations: 3.847 MB / 4.633 GB, free: 34.16 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.279e-05/8.553, allocations: 8 kB / 4.633 GB, free: 34.16 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008435/8.554, allocations: 310.3 kB / 4.633 GB, free: 33.85 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001061/8.555, allocations: 263.5 kB / 4.633 GB, free: 33.59 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002988/8.558, allocations: 3.622 MB / 4.637 GB, free: 29.77 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00167/8.56, allocations: 175 kB / 4.637 GB, free: 29.6 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001291/8.56, allocations: 80.02 kB / 4.637 GB, free: 29.52 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 5.77e-06/8.56, allocations: 8 kB / 4.637 GB, free: 29.51 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00304/8.563, allocations: 1.331 MB / 4.638 GB, free: 28.17 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/8.563, allocations: 8 kB / 4.638 GB, free: 28.16 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001076/8.564, allocations: 318.2 kB / 4.638 GB, free: 27.85 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008503/8.565, allocations: 227.7 kB / 4.639 GB, free: 27.62 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005568/8.57, allocations: 4.937 MB / 4.644 GB, free: 22.39 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001816/8.572, allocations: 147.2 kB / 4.644 GB, free: 22.24 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001123/8.572, allocations: 72.05 kB / 4.644 GB, free: 22.17 MB / 0.9011 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.0003738/8.573, allocations: 136.4 kB / 4.644 GB, free: 22.03 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002416/8.573, allocations: 201.5 kB / 4.644 GB, free: 21.83 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003388/8.576, allocations: 1.401 MB / 4.645 GB, free: 20.43 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.035e-06/8.576, allocations: 8 kB / 4.645 GB, free: 20.42 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.995e-06/8.577, allocations: 4 kB / 4.645 GB, free: 20.42 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002297/8.579, allocations: 1.162 MB / 4.647 GB, free: 19.22 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00576/8.585, allocations: 2.895 MB / 4.649 GB, free: 16.27 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/8.585, allocations: 4 kB / 4.649 GB, free: 16.26 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009748/8.586, allocations: 191.9 kB / 4.65 GB, free: 16.07 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005947/8.586, allocations: 221.1 kB / 4.65 GB, free: 15.86 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.511e-05/8.586, allocations: 15.97 kB / 4.65 GB, free: 15.84 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002427/8.589, allocations: 3.472 MB / 4.653 GB, free: 12.18 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/8.589, allocations: 4 kB / 4.653 GB, free: 12.18 MB / 0.9011 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003237/8.592, allocations: 1.983 MB / 4.655 GB, free: 10.12 MB / 0.9011 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004417/8.596, allocations: 3.118 MB / 4.658 GB, free: 6.934 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007968/8.597, allocations: 382.2 kB / 4.659 GB, free: 6.539 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004079/8.598, allocations: 11.94 kB / 4.659 GB, free: 6.527 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001399/8.599, allocations: 103.7 kB / 4.659 GB, free: 6.426 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001128/8.599, allocations: 48.7 kB / 4.659 GB, free: 6.379 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.79e-05/8.599, allocations: 47.88 kB / 4.659 GB, free: 6.332 MB / 0.9011 GB Notification: Performance of sort global known variables: time 0.001701/8.601, allocations: 1.035 MB / 4.66 GB, free: 5.277 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.007852/8.609, allocations: 2.436 MB / 4.662 GB, free: 2.84 MB / 0.9011 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.006077/8.615, allocations: 4.669 MB / 4.667 GB, free: 14.05 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.004104/8.619, allocations: 2.081 MB / 4.669 GB, free: 11.95 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/8.619, allocations: 0 / 4.669 GB, free: 11.95 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.001034/8.62, allocations: 0.592 MB / 4.669 GB, free: 11.35 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004432/8.625, allocations: 0.8802 MB / 4.67 GB, free: 10.49 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007525/8.632, allocations: 2.901 MB / 4.673 GB, free: 7.531 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002086/8.634, allocations: 1.815 MB / 4.675 GB, free: 5.688 MB / 0.9167 GB Notification: Performance of SimCode: time 1.313e-06/8.634, allocations: 4 kB / 4.675 GB, free: 5.684 MB / 0.9167 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.SpeedControlled_Nrpm.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.SpeedControlled_Nrpm.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.SpeedControlled_Nrpm.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.SpeedControlled_Nrpm.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Movers_Validation_SpeedControlled_Nrpm_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_maint_7_0_x_Buildings_Fluid_Movers_Validation_SpeedControlled_Nrpm.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.SpeedControlled_Nrpm.pipe 2>&1)