Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.SpeedControlled_y_linear.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Movers.Validation.SpeedControlled_y_linear,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Movers_Validation_SpeedControlled_y_linear",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Movers.Validation.SpeedControlled_y_linear,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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/BuildSysPro 3.5.0/package.mo): time 0.7675/0.7675, allocations: 127.4 MB / 134.6 MB, free: 4.059 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001256/0.001256, allocations: 185.3 kB / 164.4 MB, free: 6.879 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.91/1.91, allocations: 205.1 MB / 399.1 MB, free: 6.062 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009555/0.0009555, allocations: 89.84 kB / 476.3 MB, free: 8.816 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3352/0.3361, allocations: 82.88 MB / 0.546 GB, free: 42.66 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1858/0.522, allocations: 76.76 MB / 0.621 GB, free: 13.82 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.227/1.749, allocations: 400.1 MB / 1.012 GB, free: 79.75 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003182/1.75, allocations: 93.44 kB / 1.012 GB, free: 79.7 MB / 0.6198 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 3.058/4.808, allocations: 0.7437 GB / 1.756 GB, free: 67.64 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.743e-05/4.808, allocations: 10.59 kB / 1.756 GB, free: 67.64 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004819/4.813, allocations: 0.6853 MB / 1.756 GB, free: 67.53 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03693/4.85, allocations: 13.72 MB / 1.77 GB, free: 66.35 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000118/4.85, allocations: 35.16 kB / 1.77 GB, free: 66.35 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004997/4.851, allocations: 67.75 kB / 1.77 GB, free: 66.35 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002488/4.853, allocations: 0.8692 MB / 1.771 GB, free: 66.01 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002486/4.856, allocations: 1.064 MB / 1.772 GB, free: 65.52 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.078e-05/4.856, allocations: 5.906 kB / 1.772 GB, free: 65.51 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001711/4.856, allocations: 7.281 kB / 1.772 GB, free: 65.51 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.49e-05/4.856, allocations: 23.06 kB / 1.772 GB, free: 65.51 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01029/4.866, allocations: 6.041 MB / 1.778 GB, free: 61.07 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001202/4.867, allocations: 0.6738 MB / 1.778 GB, free: 60.82 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000483/4.868, allocations: 312.1 kB / 1.779 GB, free: 60.7 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004268/4.872, allocations: 2.129 MB / 1.781 GB, free: 59.16 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.543e-05/4.872, allocations: 38.91 kB / 1.781 GB, free: 59.12 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=51): time 3.186e-06/4.872, allocations: 0 / 1.781 GB, free: 59.12 MB / 0.6667 GB Notification: Performance of matching and sorting (n=51): time 0.003314/4.876, allocations: 0.9548 MB / 1.782 GB, free: 58.77 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.599e-05/4.876, allocations: 58.66 kB / 1.782 GB, free: 58.71 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00275/4.878, allocations: 1.221 MB / 1.783 GB, free: 58.2 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001294/4.879, allocations: 29.55 kB / 1.783 GB, free: 58.17 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005994/4.879, allocations: 0.5764 MB / 1.783 GB, free: 57.76 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002433/4.879, allocations: 168.9 kB / 1.784 GB, free: 57.63 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.275e-05/4.879, allocations: 0 / 1.784 GB, free: 57.63 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001371/4.88, allocations: 347.8 kB / 1.784 GB, free: 57.31 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005499/4.88, allocations: 303.2 kB / 1.784 GB, free: 57.2 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008262/4.881, allocations: 0.7296 MB / 1.785 GB, free: 56.53 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001998/4.883, allocations: 0.5219 MB / 1.785 GB, free: 56.38 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.329e-05/4.883, allocations: 7.625 kB / 1.785 GB, free: 56.38 MB / 0.6667 GB Notification: Performance of matching and sorting (n=115) (initialization): time 0.004345/4.887, allocations: 1.346 MB / 1.787 GB, free: 55.93 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.001432/4.889, allocations: 4.504 MB / 1.791 GB, free: 51.1 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.814e-05/4.889, allocations: 12.91 kB / 1.791 GB, free: 51.1 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007409/4.89, allocations: 214.4 kB / 1.791 GB, free: 51.03 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009447/4.891, allocations: 219.2 kB / 1.792 GB, free: 51.01 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001802/4.892, allocations: 1.9 MB / 1.793 GB, free: 49.32 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002056/4.895, allocations: 142.8 kB / 1.794 GB, free: 49.27 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002441/4.895, allocations: 73.77 kB / 1.794 GB, free: 49.25 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/4.895, allocations: 4.688 kB / 1.794 GB, free: 49.25 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003785/4.899, allocations: 1.069 MB / 1.795 GB, free: 48.94 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.576e-05/4.899, allocations: 11.81 kB / 1.795 GB, free: 48.94 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006105/4.899, allocations: 208 kB / 1.795 GB, free: 48.88 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007828/4.9, allocations: 213.4 kB / 1.795 GB, free: 48.86 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005255/4.905, allocations: 3.707 MB / 1.799 GB, free: 45.88 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001828/4.907, allocations: 115.9 kB / 1.799 GB, free: 45.84 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003214/4.908, allocations: 69.78 kB / 1.799 GB, free: 45.83 MB / 0.6667 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: 50 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (101): * Single equations (assignments): 96 * 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.0005227/4.908, allocations: 138.2 kB / 1.799 GB, free: 45.7 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000613/4.909, allocations: 159.6 kB / 1.799 GB, free: 45.62 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004597/4.913, allocations: 1.166 MB / 1.8 GB, free: 45.22 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.727e-05/4.913, allocations: 10.31 kB / 1.8 GB, free: 45.22 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/4.913, allocations: 1.156 kB / 1.8 GB, free: 45.22 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.781e-05/4.913, allocations: 5.438 kB / 1.8 GB, free: 45.22 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003923/4.917, allocations: 0.9956 MB / 1.801 GB, free: 44.76 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.075e-06/4.917, allocations: 0.5938 kB / 1.801 GB, free: 44.76 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00067/4.918, allocations: 99.03 kB / 1.801 GB, free: 44.75 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005747/4.919, allocations: 174.1 kB / 1.802 GB, free: 44.69 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.31e-05/4.919, allocations: 9.609 kB / 1.802 GB, free: 44.69 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001535/4.92, allocations: 1.838 MB / 1.803 GB, free: 43.01 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.389e-06/4.92, allocations: 0.5625 kB / 1.803 GB, free: 43.01 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003006/4.923, allocations: 1.002 MB / 1.804 GB, free: 42.55 MB / 0.6667 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003353/4.927, allocations: 1.474 MB / 1.806 GB, free: 41.65 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001436/4.928, allocations: 329.5 kB / 1.806 GB, free: 41.41 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008111/4.929, allocations: 0 / 1.806 GB, free: 41.41 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00157/4.931, allocations: 63.45 kB / 1.806 GB, free: 41.41 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001305/4.931, allocations: 35.75 kB / 1.806 GB, free: 41.4 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001238/4.931, allocations: 29.47 kB / 1.806 GB, free: 41.4 MB / 0.6667 GB Notification: Performance of sort global known variables: time 0.003546/4.934, allocations: 0.9333 MB / 1.807 GB, free: 41 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.008787/4.943, allocations: 1.301 MB / 1.808 GB, free: 40.44 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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 3,1 4,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.00522/4.948, allocations: 1.389 MB / 1.81 GB, free: 40.03 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.004424/4.953, allocations: 1.439 MB / 1.811 GB, free: 39.48 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/4.953, allocations: 0.875 kB / 1.811 GB, free: 39.48 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0008753/4.954, allocations: 328.1 kB / 1.811 GB, free: 39.38 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004563/4.958, allocations: 0.6355 MB / 1.812 GB, free: 39.24 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007454/4.966, allocations: 2.041 MB / 1.814 GB, free: 38.43 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002886/4.969, allocations: 1.546 MB / 1.816 GB, free: 37.64 MB / 0.6667 GB Notification: Performance of SimCode: time 1.012e-06/4.969, allocations: 0 / 1.816 GB, free: 37.64 MB / 0.6667 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.SpeedControlled_y_linear.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.SpeedControlled_y_linear.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.SpeedControlled_y_linear.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.SpeedControlled_y_linear.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Movers_Validation_SpeedControlled_y_linear_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Movers_Validation_SpeedControlled_y_linear.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.SpeedControlled_y_linear.pipe 2>&1)