Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Movers.Validation.SpeedControlled_Nrpm.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Movers.Validation.SpeedControlled_Nrpm,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.405/1.405, allocations: 285.5 MB / 292.8 MB, free: 10.45 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001034/0.001034, allocations: 193.2 kB / 361.1 MB, free: 7.074 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.117/1.117, allocations: 205.1 MB / 0.6195 GB, free: 10.31 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008399/0.0008399, allocations: 103.9 kB / 0.7326 GB, free: 44.23 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1862/0.1871, allocations: 121.4 MB / 0.8511 GB, free: 2.895 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4444/0.6315, allocations: 115.3 MB / 0.9637 GB, free: 78.1 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.964/3.596, allocations: 2.112 GB / 3.076 GB, free: 40.47 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002212/3.596, allocations: 95.94 kB / 3.076 GB, free: 40.38 MB / 0.948 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 5.111/8.707, allocations: 1.536 GB / 4.612 GB, free: 119 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 3.607e-05/8.707, allocations: 8.344 kB / 4.612 GB, free: 119 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006047/8.713, allocations: 0.9005 MB / 4.613 GB, free: 118.9 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007569/8.721, allocations: 3.077 MB / 4.616 GB, free: 118.5 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.473e-05/8.721, allocations: 47.34 kB / 4.616 GB, free: 118.5 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002012/8.721, allocations: 90.88 kB / 4.616 GB, free: 118.5 MB / 0.9792 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002148/8.723, allocations: 1.338 MB / 4.618 GB, free: 118.5 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002109/8.725, allocations: 1.496 MB / 4.619 GB, free: 118.3 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.137e-05/8.725, allocations: 0 / 4.619 GB, free: 118.3 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001278/8.725, allocations: 6.312 kB / 4.619 GB, free: 118.3 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.789e-05/8.725, allocations: 46.23 kB / 4.619 GB, free: 118.3 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009267/8.735, allocations: 7.833 MB / 4.627 GB, free: 114.5 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001224/8.736, allocations: 0.9836 MB / 4.628 GB, free: 114.5 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007779/8.737, allocations: 0.6076 MB / 4.628 GB, free: 114.4 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002678/8.737, allocations: 284 kB / 4.629 GB, free: 114.2 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.937e-05/8.737, allocations: 41.22 kB / 4.629 GB, free: 114.1 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=85): time 2.385e-06/8.737, allocations: 1.719 kB / 4.629 GB, free: 114.1 MB / 0.9792 GB Notification: Performance of matching and sorting (n=85): time 0.003849/8.741, allocations: 1.409 MB / 4.63 GB, free: 113.9 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.148e-05/8.741, allocations: 62.09 kB / 4.63 GB, free: 113.9 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001525/8.742, allocations: 1.358 MB / 4.631 GB, free: 113.7 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 8.308e-05/8.742, allocations: 31.86 kB / 4.631 GB, free: 113.7 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003194/8.743, allocations: 0.6307 MB / 4.632 GB, free: 113.4 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002437/8.743, allocations: 288 kB / 4.632 GB, free: 113.2 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.99e-05/8.743, allocations: 0 / 4.632 GB, free: 113.2 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 8.294e-05/8.743, allocations: 348.8 kB / 4.633 GB, free: 112.9 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005564/8.744, allocations: 424.1 kB / 4.633 GB, free: 112.9 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007002/8.744, allocations: 0.842 MB / 4.634 GB, free: 112.4 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001142/8.746, allocations: 0.5954 MB / 4.635 GB, free: 112.4 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.821e-06/8.746, allocations: 2.25 kB / 4.635 GB, free: 112.4 MB / 0.9792 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.003247/8.749, allocations: 1.638 MB / 4.636 GB, free: 112.2 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.000631/8.749, allocations: 3.859 MB / 4.64 GB, free: 108.2 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.456e-05/8.75, allocations: 10.5 kB / 4.64 GB, free: 108.2 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009089/8.75, allocations: 315.9 kB / 4.64 GB, free: 108.2 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001066/8.752, allocations: 243.5 kB / 4.64 GB, free: 108.2 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003061/8.755, allocations: 3.636 MB / 4.644 GB, free: 105.4 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001653/8.756, allocations: 170.9 kB / 4.644 GB, free: 105.4 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001342/8.756, allocations: 83.08 kB / 4.644 GB, free: 105.4 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 6.602e-06/8.756, allocations: 8.031 kB / 4.644 GB, free: 105.4 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003108/8.76, allocations: 1.329 MB / 4.646 GB, free: 105.3 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.447e-06/8.76, allocations: 14.14 kB / 4.646 GB, free: 105.3 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00109/8.761, allocations: 314.7 kB / 4.646 GB, free: 105.3 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008539/8.762, allocations: 235 kB / 4.646 GB, free: 105.3 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005598/8.767, allocations: 4.935 MB / 4.651 GB, free: 102 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001585/8.769, allocations: 145.3 kB / 4.651 GB, free: 101.9 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000108/8.769, allocations: 67.95 kB / 4.651 GB, free: 101.9 MB / 0.9792 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.0003352/8.769, allocations: 142.5 kB / 4.651 GB, free: 101.8 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002269/8.769, allocations: 191.8 kB / 4.651 GB, free: 101.7 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003383/8.773, allocations: 1.41 MB / 4.653 GB, free: 101.6 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.358e-06/8.773, allocations: 13.34 kB / 4.653 GB, free: 101.6 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-06/8.773, allocations: 0 / 4.653 GB, free: 101.6 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002375/8.775, allocations: 1.169 MB / 4.654 GB, free: 101.4 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005169/8.78, allocations: 2.905 MB / 4.657 GB, free: 101 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/8.78, allocations: 4.938 kB / 4.657 GB, free: 101 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009629/8.781, allocations: 182.6 kB / 4.657 GB, free: 101 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005921/8.782, allocations: 227.2 kB / 4.657 GB, free: 100.9 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.166e-05/8.782, allocations: 19.23 kB / 4.657 GB, free: 100.9 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002483/8.785, allocations: 3.485 MB / 4.661 GB, free: 98.1 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/8.785, allocations: 2.438 kB / 4.661 GB, free: 98.1 MB / 0.9792 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00334/8.788, allocations: 1.989 MB / 4.663 GB, free: 97.67 MB / 0.9792 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004453/8.792, allocations: 3.133 MB / 4.666 GB, free: 96.86 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006992/8.793, allocations: 368 kB / 4.666 GB, free: 96.66 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002465/8.793, allocations: 7.047 kB / 4.666 GB, free: 96.66 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001182/8.795, allocations: 103.4 kB / 4.666 GB, free: 96.66 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001078/8.795, allocations: 51.89 kB / 4.666 GB, free: 96.65 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.824e-05/8.795, allocations: 39.55 kB / 4.666 GB, free: 96.65 MB / 0.9792 GB Notification: Performance of sort global known variables: time 0.00138/8.796, allocations: 1.035 MB / 4.667 GB, free: 96.51 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.007016/8.803, allocations: 2.457 MB / 4.67 GB, free: 96.39 MB / 0.9792 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.00503/8.808, allocations: 4.683 MB / 4.674 GB, free: 94.66 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.003484/8.812, allocations: 2.091 MB / 4.676 GB, free: 94.33 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/8.812, allocations: 1.281 kB / 4.676 GB, free: 94.33 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0008486/8.813, allocations: 0.5872 MB / 4.677 GB, free: 94.23 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003548/8.816, allocations: 0.8788 MB / 4.678 GB, free: 94.21 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005078/8.821, allocations: 2.893 MB / 4.68 GB, free: 93.48 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001404/8.823, allocations: 1.81 MB / 4.682 GB, free: 92.75 MB / 0.9792 GB Notification: Performance of SimCode: time 1.213e-06/8.823, allocations: 0 / 4.682 GB, free: 92.75 MB / 0.9792 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Movers.Validation.SpeedControlled_Nrpm.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Movers.Validation.SpeedControlled_Nrpm.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Movers.Validation.SpeedControlled_Nrpm.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Movers.Validation.SpeedControlled_Nrpm.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Movers_Validation_SpeedControlled_Nrpm_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_maint_8_0_x_Buildings_Fluid_Movers_Validation_SpeedControlled_Nrpm.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Movers.Validation.SpeedControlled_Nrpm.pipe 2>&1)