Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Movers.Validation.SpeedControlled_Nrpm.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.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 Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Movers.Validation.SpeedControlled_Nrpm,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Movers_Validation_SpeedControlled_Nrpm",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.Validation.SpeedControlled_Nrpm,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.453/2.453, allocations: 284.8 MB / 292.1 MB, free: 10.79 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.001608/0.001608, allocations: 185.2 kB / 360.3 MB, free: 7.566 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.966/1.966, allocations: 205.1 MB / 0.6187 GB, free: 13.23 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.002039/0.002039, allocations: 86.56 kB / 0.7317 GB, free: 45.14 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3524/0.3545, allocations: 121.4 MB / 0.8502 GB, free: 3.953 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6538/1.008, allocations: 115.2 MB / 0.9627 GB, free: 78.39 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.604/6.612, allocations: 2.112 GB / 3.075 GB, free: 258 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003212/6.613, allocations: 90.39 kB / 3.075 GB, free: 258 MB / 0.9323 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 7.767/14.38, allocations: 1.536 GB / 4.611 GB, free: 132.3 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.387e-05/14.38, allocations: 8.188 kB / 4.611 GB, free: 132.3 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01053/14.39, allocations: 0.9004 MB / 4.612 GB, free: 132.2 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01391/14.4, allocations: 3.073 MB / 4.615 GB, free: 131.6 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001216/14.4, allocations: 46.94 kB / 4.615 GB, free: 131.6 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006911/14.41, allocations: 91.66 kB / 4.615 GB, free: 131.6 MB / 0.9792 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004794/14.41, allocations: 1.345 MB / 4.616 GB, free: 131.6 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004785/14.41, allocations: 1.503 MB / 4.618 GB, free: 131.4 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.407e-05/14.41, allocations: 0.8125 kB / 4.618 GB, free: 131.4 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002397/14.42, allocations: 0 / 4.618 GB, free: 131.4 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.796e-05/14.42, allocations: 49.05 kB / 4.618 GB, free: 131.4 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01994/14.44, allocations: 7.839 MB / 4.626 GB, free: 127.6 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003107/14.44, allocations: 0.9868 MB / 4.627 GB, free: 127.6 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001959/14.44, allocations: 0.6043 MB / 4.627 GB, free: 127.5 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004814/14.44, allocations: 282.6 kB / 4.627 GB, free: 127.3 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.296e-05/14.44, allocations: 44.56 kB / 4.628 GB, free: 127.2 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=85): time 3.757e-06/14.44, allocations: 3.938 kB / 4.628 GB, free: 127.2 MB / 0.9792 GB Notification: Performance of matching and sorting (n=85): time 0.008821/14.45, allocations: 1.402 MB / 4.629 GB, free: 127 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.671e-05/14.45, allocations: 60.44 kB / 4.629 GB, free: 127 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003703/14.45, allocations: 1.364 MB / 4.63 GB, free: 126.8 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0003687/14.45, allocations: 28.39 kB / 4.63 GB, free: 126.7 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005682/14.45, allocations: 0.621 MB / 4.631 GB, free: 126.4 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005372/14.46, allocations: 286.3 kB / 4.631 GB, free: 126.2 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001065/14.46, allocations: 0.8125 kB / 4.631 GB, free: 126.2 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001182/14.46, allocations: 353.2 kB / 4.632 GB, free: 125.9 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001238/14.46, allocations: 421.7 kB / 4.632 GB, free: 125.9 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00152/14.46, allocations: 0.8458 MB / 4.633 GB, free: 125.4 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002533/14.46, allocations: 0.5938 MB / 4.633 GB, free: 125.4 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.579e-05/14.46, allocations: 7.219 kB / 4.633 GB, free: 125.4 MB / 0.9792 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.00933/14.47, allocations: 1.637 MB / 4.635 GB, free: 125.2 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.001386/14.47, allocations: 3.853 MB / 4.639 GB, free: 121.2 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.179e-05/14.47, allocations: 9.438 kB / 4.639 GB, free: 121.2 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002899/14.47, allocations: 311.2 kB / 4.639 GB, free: 121.2 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003885/14.48, allocations: 259.6 kB / 4.639 GB, free: 121.2 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006746/14.49, allocations: 3.635 MB / 4.643 GB, free: 118.4 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003559/14.49, allocations: 175.1 kB / 4.643 GB, free: 118.3 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004463/14.49, allocations: 84.48 kB / 4.643 GB, free: 118.3 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/14.49, allocations: 3.969 kB / 4.643 GB, free: 118.3 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006553/14.5, allocations: 1.33 MB / 4.644 GB, free: 118.3 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.154e-05/14.5, allocations: 7.094 kB / 4.644 GB, free: 118.3 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002118/14.5, allocations: 320.4 kB / 4.645 GB, free: 118.2 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002001/14.5, allocations: 227.8 kB / 4.645 GB, free: 118.2 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01186/14.51, allocations: 4.941 MB / 4.65 GB, free: 114.9 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003318/14.52, allocations: 147.1 kB / 4.65 GB, free: 114.8 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004693/14.52, allocations: 70.45 kB / 4.65 GB, free: 114.8 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.0005686/14.52, allocations: 141.1 kB / 4.65 GB, free: 114.7 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006539/14.52, allocations: 191.3 kB / 4.65 GB, free: 114.6 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006362/14.52, allocations: 1.401 MB / 4.652 GB, free: 114.5 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-05/14.52, allocations: 8.656 kB / 4.652 GB, free: 114.5 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/14.52, allocations: 2.875 kB / 4.652 GB, free: 114.5 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004719/14.53, allocations: 1.168 MB / 4.653 GB, free: 114.3 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01014/14.54, allocations: 2.916 MB / 4.656 GB, free: 113.8 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.021e-05/14.54, allocations: 3.312 kB / 4.656 GB, free: 113.8 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002023/14.54, allocations: 182 kB / 4.656 GB, free: 113.8 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001042/14.54, allocations: 219.7 kB / 4.656 GB, free: 113.8 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001716/14.54, allocations: 14.02 kB / 4.656 GB, free: 113.8 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004377/14.55, allocations: 3.487 MB / 4.659 GB, free: 110.9 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.101e-05/14.55, allocations: 3.875 kB / 4.659 GB, free: 110.9 MB / 0.9792 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006689/14.55, allocations: 1.993 MB / 4.661 GB, free: 110.5 MB / 0.9792 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.009065/14.56, allocations: 3.136 MB / 4.664 GB, free: 109.7 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001538/14.56, allocations: 365 kB / 4.665 GB, free: 109.5 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006763/14.56, allocations: 15.14 kB / 4.665 GB, free: 109.5 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002841/14.57, allocations: 102.5 kB / 4.665 GB, free: 109.4 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001819/14.57, allocations: 46.47 kB / 4.665 GB, free: 109.4 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001553/14.57, allocations: 40.91 kB / 4.665 GB, free: 109.4 MB / 0.9792 GB Notification: Performance of sort global known variables: time 0.002386/14.57, allocations: 1.03 MB / 4.666 GB, free: 109.3 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.01303/14.58, allocations: 2.459 MB / 4.668 GB, free: 109.1 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.008494/14.59, allocations: 4.67 MB / 4.673 GB, free: 107.3 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.006769/14.6, allocations: 2.092 MB / 4.675 GB, free: 106.9 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 9.258e-06/14.6, allocations: 3.281 kB / 4.675 GB, free: 106.9 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.002093/14.6, allocations: 0.5891 MB / 4.676 GB, free: 106.8 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008129/14.61, allocations: 0.8858 MB / 4.676 GB, free: 106.8 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01575/14.63, allocations: 2.88 MB / 4.679 GB, free: 106 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004342/14.63, allocations: 1.819 MB / 4.681 GB, free: 105.3 MB / 0.9792 GB Notification: Performance of SimCode: time 1.483e-06/14.63, allocations: 1.031 kB / 4.681 GB, free: 105.3 MB / 0.9792 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Movers.Validation.SpeedControlled_Nrpm.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Movers.Validation.SpeedControlled_Nrpm.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Movers.Validation.SpeedControlled_Nrpm.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Movers.Validation.SpeedControlled_Nrpm.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Movers_Validation_SpeedControlled_Nrpm_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_8_0_0_Buildings_Fluid_Movers_Validation_SpeedControlled_Nrpm.fmu > Buildings_8.0.0_Buildings.Fluid.Movers.Validation.SpeedControlled_Nrpm.pipe 2>&1)