Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.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_y_linear,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Movers_Validation_SpeedControlled_y_linear",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Movers_Validation_SpeedControlled_y_linear",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.243/1.243, allocations: 249.4 MB / 256.7 MB, free: 7.043 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00106/0.00106, allocations: 192.5 kB / 316 MB, free: 3.531 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.239/1.239, allocations: 205.2 MB / 0.5667 GB, free: 15.61 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.0008248/0.0008246, allocations: 80.92 kB / 0.671 GB, free: 4.746 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3744/0.3752, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2018/0.577, allocations: 106.3 MB / 0.8847 GB, free: 12.54 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.253/1.83, allocations: 431.7 MB / 1.306 GB, free: 315.3 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002556/1.83, allocations: 86.83 kB / 1.306 GB, free: 315.3 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: 262 * Number of variables: 262 Notification: Performance of Generate backend data structure: time 2.148/3.978, allocations: 0.7457 GB / 2.052 GB, free: 131.1 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/3.978, allocations: 11.52 kB / 2.052 GB, free: 131.1 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002888/3.981, allocations: 0.5921 MB / 2.053 GB, free: 130.9 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03041/4.011, allocations: 13.79 MB / 2.066 GB, free: 130.1 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.852e-05/4.011, allocations: 31.41 kB / 2.066 GB, free: 130.1 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000165/4.012, allocations: 72.5 kB / 2.066 GB, free: 130.1 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001503/4.013, allocations: 0.8714 MB / 2.067 GB, free: 130.1 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001478/4.015, allocations: 1.066 MB / 2.068 GB, free: 129.9 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.584e-05/4.015, allocations: 5.594 kB / 2.068 GB, free: 129.9 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.028e-05/4.015, allocations: 0 / 2.068 GB, free: 129.9 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.861e-05/4.015, allocations: 26.5 kB / 2.068 GB, free: 129.9 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007145/4.022, allocations: 5.701 MB / 2.074 GB, free: 127.1 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009111/4.023, allocations: 0.7042 MB / 2.074 GB, free: 127 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004072/4.023, allocations: 359.4 kB / 2.075 GB, free: 127 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003388/4.027, allocations: 2.725 MB / 2.077 GB, free: 125.4 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.219e-05/4.027, allocations: 38.25 kB / 2.077 GB, free: 125.3 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=59): time 2.264e-06/4.027, allocations: 3.938 kB / 2.077 GB, free: 125.3 MB / 0.8698 GB Notification: Performance of matching and sorting (n=59): time 0.002543/4.029, allocations: 1.006 MB / 2.078 GB, free: 125.2 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.513e-05/4.029, allocations: 59.47 kB / 2.078 GB, free: 125.1 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001447/4.031, allocations: 1.202 MB / 2.08 GB, free: 125 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 6.717e-05/4.031, allocations: 25.7 kB / 2.08 GB, free: 124.9 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002762/4.031, allocations: 0.5489 MB / 2.08 GB, free: 124.6 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001499/4.031, allocations: 203 kB / 2.08 GB, free: 124.5 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.648e-05/4.031, allocations: 0 / 2.08 GB, free: 124.5 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.069e-05/4.031, allocations: 336.3 kB / 2.081 GB, free: 124.2 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004157/4.032, allocations: 318.2 kB / 2.081 GB, free: 124.2 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005983/4.032, allocations: 0.7425 MB / 2.082 GB, free: 123.7 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001636/4.034, allocations: 0.5331 MB / 2.082 GB, free: 123.7 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.122e-06/4.034, allocations: 6.25 kB / 2.082 GB, free: 123.7 MB / 0.8698 GB Notification: Performance of matching and sorting (n=116) (initialization): time 0.003381/4.037, allocations: 1.358 MB / 2.084 GB, free: 123.5 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007598/4.038, allocations: 4.329 MB / 2.088 GB, free: 119 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.56e-05/4.038, allocations: 11.38 kB / 2.088 GB, free: 119 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005554/4.039, allocations: 200.1 kB / 2.088 GB, free: 118.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007489/4.04, allocations: 221.5 kB / 2.088 GB, free: 118.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001115/4.041, allocations: 1.893 MB / 2.09 GB, free: 117.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001256/4.042, allocations: 143.3 kB / 2.09 GB, free: 117.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001226/4.042, allocations: 76.19 kB / 2.09 GB, free: 117.3 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 7.414e-06/4.042, allocations: 3.938 kB / 2.09 GB, free: 117.3 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002919/4.045, allocations: 1.096 MB / 2.091 GB, free: 117.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.187e-05/4.045, allocations: 14.69 kB / 2.091 GB, free: 117.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005095/4.046, allocations: 202.2 kB / 2.092 GB, free: 117.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006464/4.046, allocations: 205.5 kB / 2.092 GB, free: 117.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004012/4.05, allocations: 3.711 MB / 2.095 GB, free: 114.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001203/4.052, allocations: 113 kB / 2.095 GB, free: 114.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000103/4.052, allocations: 67 kB / 2.096 GB, free: 114.6 MB / 0.8698 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pumFixDp.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: 48 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (102): * Single equations (assignments): 97 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 4,1 5,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0002865/4.052, allocations: 148.4 kB / 2.096 GB, free: 114.4 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001839/4.052, allocations: 162.4 kB / 2.096 GB, free: 114.4 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002746/4.055, allocations: 1.316 MB / 2.097 GB, free: 114.2 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.203e-05/4.055, allocations: 10.06 kB / 2.097 GB, free: 114.2 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/4.055, allocations: 0 / 2.097 GB, free: 114.2 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.536e-06/4.055, allocations: 6.828 kB / 2.097 GB, free: 114.2 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00408/4.059, allocations: 2.298 MB / 2.099 GB, free: 113.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.963e-06/4.059, allocations: 7.25 kB / 2.099 GB, free: 113.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005075/4.06, allocations: 119.1 kB / 2.099 GB, free: 113.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003801/4.06, allocations: 165.3 kB / 2.1 GB, free: 113.8 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.537e-05/4.06, allocations: 11.48 kB / 2.1 GB, free: 113.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009707/4.061, allocations: 1.833 MB / 2.101 GB, free: 112.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/4.061, allocations: 0 / 2.101 GB, free: 112.3 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002444/4.063, allocations: 1.282 MB / 2.103 GB, free: 111.9 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002629/4.066, allocations: 1.758 MB / 2.104 GB, free: 111.1 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006456/4.067, allocations: 335.5 kB / 2.105 GB, free: 110.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001928/4.067, allocations: 3.719 kB / 2.105 GB, free: 110.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000782/4.068, allocations: 68.22 kB / 2.105 GB, free: 110.9 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.358e-05/4.068, allocations: 48.45 kB / 2.105 GB, free: 110.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.232e-05/4.068, allocations: 36.53 kB / 2.105 GB, free: 110.9 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.00122/4.069, allocations: 0.904 MB / 2.106 GB, free: 110.8 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.004537/4.074, allocations: 1.306 MB / 2.107 GB, free: 110.6 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 4,1 3,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.002105/4.076, allocations: 1.361 MB / 2.108 GB, free: 110.3 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002571/4.078, allocations: 1.54 MB / 2.11 GB, free: 110.1 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.519e-06/4.078, allocations: 0 / 2.11 GB, free: 110.1 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006114/4.079, allocations: 408.3 kB / 2.11 GB, free: 110.1 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002897/4.082, allocations: 0.6525 MB / 2.111 GB, free: 110.1 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003953/4.086, allocations: 2.165 MB / 2.113 GB, free: 109.5 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001041/4.087, allocations: 1.574 MB / 2.115 GB, free: 108.8 MB / 0.8698 GB Notification: Performance of SimCode: time 8.61e-07/4.087, allocations: 0 / 2.115 GB, free: 108.8 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Movers_Validation_SpeedControlled_y_linear_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Movers_Validation_SpeedControlled_y_linear.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.pipe 2>&1)