Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Movers.Validation.SpeedControlled_y_linear.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Movers.Validation.SpeedControlled_y_linear,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Movers_Validation_SpeedControlled_y_linear",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Movers.Validation.SpeedControlled_y_linear,fileNamePrefix="BuildingSystems_BuildingSystems_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/BuildingSystems 2.0.0-master/package.mo): time 0.7276/0.7276, allocations: 141.8 MB / 149.1 MB, free: 2.066 MB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0011/0.0011, allocations: 189.7 kB / 181.9 MB, free: 1.645 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.341/1.341, allocations: 221.4 MB / 436 MB, free: 6.5 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000961/0.0009611, allocations: 112.1 kB / 0.507 GB, free: 3.168 MB / 410.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001732/0.001732, allocations: 282.1 kB / 0.5884 GB, free: 48.06 MB / 410.9 MB Notification: Performance of FrontEnd - loaded program: time 0.194/0.1958, allocations: 89.64 MB / 0.676 GB, free: 6.348 MB / 458.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4346/0.6304, allocations: 82.76 MB / 0.7568 GB, free: 25.48 MB / 458.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7399/1.37, allocations: 395.8 MB / 1.143 GB, free: 6.906 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002783/1.371, allocations: 93.81 kB / 1.143 GB, free: 6.863 MB / 0.6982 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.581/3.952, allocations: 0.7808 GB / 1.924 GB, free: 22.59 MB / 0.6982 GB Notification: Performance of prepare preOptimizeDAE: time 4.488e-05/3.952, allocations: 12.94 kB / 1.924 GB, free: 22.57 MB / 0.6982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003575/3.955, allocations: 0.5906 MB / 1.925 GB, free: 21.98 MB / 0.6982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03607/3.991, allocations: 14.39 MB / 1.939 GB, free: 7.422 MB / 0.6982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.669e-05/3.992, allocations: 40 kB / 1.939 GB, free: 7.383 MB / 0.6982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003958/3.992, allocations: 68 kB / 1.939 GB, free: 7.316 MB / 0.6982 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002105/3.994, allocations: 0.8671 MB / 1.94 GB, free: 6.445 MB / 0.6982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002137/3.996, allocations: 1.075 MB / 1.941 GB, free: 5.297 MB / 0.6982 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.874e-05/3.996, allocations: 0 / 1.941 GB, free: 5.297 MB / 0.6982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001358/3.996, allocations: 11.91 kB / 1.941 GB, free: 5.285 MB / 0.6982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.137e-05/3.996, allocations: 24 kB / 1.941 GB, free: 5.262 MB / 0.6982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009373/4.006, allocations: 5.705 MB / 1.946 GB, free: 15.21 MB / 0.7138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00143/4.007, allocations: 0.7008 MB / 1.947 GB, free: 14.5 MB / 0.7138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005335/4.008, allocations: 366.6 kB / 1.947 GB, free: 14.14 MB / 0.7138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005146/4.013, allocations: 2.738 MB / 1.95 GB, free: 11.11 MB / 0.7138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.055e-05/4.013, allocations: 39.06 kB / 1.95 GB, free: 11.07 MB / 0.7138 GB Notification: Performance of pre-optimization done (n=59): time 3.947e-06/4.013, allocations: 0 / 1.95 GB, free: 11.07 MB / 0.7138 GB Notification: Performance of matching and sorting (n=59): time 0.003646/4.017, allocations: 1.008 MB / 1.951 GB, free: 10.04 MB / 0.7138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.742e-05/4.017, allocations: 55.91 kB / 1.951 GB, free: 9.973 MB / 0.7138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002527/4.019, allocations: 1.211 MB / 1.952 GB, free: 8.766 MB / 0.7138 GB Notification: Performance of collectPreVariables (initialization): time 0.0001396/4.02, allocations: 29.7 kB / 1.952 GB, free: 8.73 MB / 0.7138 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004556/4.02, allocations: 0.5332 MB / 1.953 GB, free: 8.188 MB / 0.7138 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002535/4.02, allocations: 205 kB / 1.953 GB, free: 7.984 MB / 0.7138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.754e-05/4.02, allocations: 0 / 1.953 GB, free: 7.984 MB / 0.7138 GB Notification: Performance of setup shared object (initialization): time 0.0001555/4.02, allocations: 341.8 kB / 1.953 GB, free: 7.645 MB / 0.7138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005103/4.021, allocations: 317.9 kB / 1.954 GB, free: 7.336 MB / 0.7138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008993/4.022, allocations: 0.7381 MB / 1.955 GB, free: 6.398 MB / 0.7138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002047/4.024, allocations: 0.5361 MB / 1.955 GB, free: 5.863 MB / 0.7138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.925e-06/4.024, allocations: 0 / 1.955 GB, free: 5.863 MB / 0.7138 GB Notification: Performance of matching and sorting (n=116) (initialization): time 0.004174/4.028, allocations: 1.367 MB / 1.956 GB, free: 4.477 MB / 0.7138 GB Notification: Performance of prepare postOptimizeDAE: time 0.2892/4.317, allocations: 4.319 MB / 1.961 GB, free: 121.5 MB / 0.7138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-05/4.317, allocations: 15.83 kB / 1.961 GB, free: 121.5 MB / 0.7138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007754/4.318, allocations: 206.1 kB / 1.961 GB, free: 121.5 MB / 0.7138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009884/4.319, allocations: 221.3 kB / 1.961 GB, free: 121.5 MB / 0.7138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001265/4.321, allocations: 1.899 MB / 1.963 GB, free: 120 MB / 0.7138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00158/4.322, allocations: 135 kB / 1.963 GB, free: 120 MB / 0.7138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001586/4.322, allocations: 75 kB / 1.963 GB, free: 120 MB / 0.7138 GB Notification: Performance of prepare postOptimizeDAE: time 9.067e-06/4.322, allocations: 3.719 kB / 1.963 GB, free: 120 MB / 0.7138 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00321/4.326, allocations: 1.093 MB / 1.964 GB, free: 119.9 MB / 0.7138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.488e-05/4.326, allocations: 10.59 kB / 1.964 GB, free: 119.9 MB / 0.7138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005685/4.326, allocations: 215 kB / 1.964 GB, free: 119.9 MB / 0.7138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006817/4.327, allocations: 203.2 kB / 1.965 GB, free: 119.9 MB / 0.7138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004235/4.331, allocations: 3.71 MB / 1.968 GB, free: 117.3 MB / 0.7138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001438/4.333, allocations: 109.5 kB / 1.968 GB, free: 117.3 MB / 0.7138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001926/4.333, allocations: 75.23 kB / 1.968 GB, free: 117.3 MB / 0.7138 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.0003805/4.333, allocations: 145 kB / 1.968 GB, free: 117.2 MB / 0.7138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004079/4.334, allocations: 162.7 kB / 1.969 GB, free: 117.2 MB / 0.7138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003402/4.337, allocations: 1.314 MB / 1.97 GB, free: 117.1 MB / 0.7138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.715e-05/4.337, allocations: 7.875 kB / 1.97 GB, free: 117.1 MB / 0.7138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/4.337, allocations: 0 / 1.97 GB, free: 117.1 MB / 0.7138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.018e-05/4.337, allocations: 3.797 kB / 1.97 GB, free: 117.1 MB / 0.7138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005477/4.343, allocations: 2.301 MB / 1.972 GB, free: 116.7 MB / 0.7138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.092e-06/4.343, allocations: 2.438 kB / 1.972 GB, free: 116.7 MB / 0.7138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005474/4.343, allocations: 128 kB / 1.972 GB, free: 116.7 MB / 0.7138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004214/4.344, allocations: 165.3 kB / 1.972 GB, free: 116.7 MB / 0.7138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.011e-05/4.344, allocations: 13.75 kB / 1.972 GB, free: 116.7 MB / 0.7138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00101/4.345, allocations: 1.831 MB / 1.974 GB, free: 115.2 MB / 0.7138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.919e-06/4.345, allocations: 2.688 kB / 1.974 GB, free: 115.2 MB / 0.7138 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002746/4.347, allocations: 1.284 MB / 1.976 GB, free: 114.7 MB / 0.7138 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003361/4.351, allocations: 1.757 MB / 1.977 GB, free: 113.9 MB / 0.7138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009241/4.352, allocations: 336.8 kB / 1.978 GB, free: 113.8 MB / 0.7138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000582/4.352, allocations: 5.906 kB / 1.978 GB, free: 113.8 MB / 0.7138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001328/4.354, allocations: 66.98 kB / 1.978 GB, free: 113.8 MB / 0.7138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001025/4.354, allocations: 51.19 kB / 1.978 GB, free: 113.8 MB / 0.7138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.429e-05/4.354, allocations: 37.09 kB / 1.978 GB, free: 113.8 MB / 0.7138 GB Notification: Performance of sort global known variables: time 0.001786/4.356, allocations: 0.9047 MB / 1.979 GB, free: 113.6 MB / 0.7138 GB Notification: Performance of remove unused functions: time 0.005986/4.362, allocations: 1.348 MB / 1.98 GB, free: 113.6 MB / 0.7138 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.003294/4.365, allocations: 1.372 MB / 1.981 GB, free: 113.4 MB / 0.7138 GB Notification: Performance of simCode: created initialization part: time 0.003157/4.368, allocations: 1.546 MB / 1.983 GB, free: 113.3 MB / 0.7138 GB Notification: Performance of simCode: created event and clocks part: time 6.622e-06/4.368, allocations: 0 / 1.983 GB, free: 113.3 MB / 0.7138 GB Notification: Performance of simCode: created simulation system equations: time 0.0007238/4.369, allocations: 408.9 kB / 1.983 GB, free: 113.3 MB / 0.7138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003397/4.372, allocations: 0.6453 MB / 1.984 GB, free: 113.3 MB / 0.7138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005033/4.377, allocations: 2.173 MB / 1.986 GB, free: 112.7 MB / 0.7138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001407/4.379, allocations: 1.573 MB / 1.987 GB, free: 112 MB / 0.7138 GB Notification: Performance of SimCode: time 5.51e-07/4.379, allocations: 0 / 1.987 GB, free: 112 MB / 0.7138 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Movers.Validation.SpeedControlled_y_linear.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Movers.Validation.SpeedControlled_y_linear.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Movers.Validation.SpeedControlled_y_linear.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Movers.Validation.SpeedControlled_y_linear.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Movers_Validation_SpeedControlled_y_linear_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Movers_Validation_SpeedControlled_y_linear.fmu > BuildingSystems_BuildingSystems.Fluid.Movers.Validation.SpeedControlled_y_linear.pipe 2>&1)