Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.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.Examples.SpeedControlled_y_pumpCurves,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Movers_Examples_SpeedControlled_y_pumpCurves",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Movers_Examples_SpeedControlled_y_pumpCurves",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.8454/0.8454, allocations: 127.4 MB / 134.6 MB, free: 4.062 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.00161/0.00161, allocations: 185.2 kB / 164.4 MB, free: 6.863 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.132/2.132, allocations: 205.1 MB / 399.1 MB, free: 6.09 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.001106/0.001106, allocations: 91.2 kB / 476.3 MB, free: 8.828 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3518/0.353, allocations: 82.88 MB / 0.5461 GB, free: 42.65 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1823/0.5352, allocations: 76.74 MB / 0.621 GB, free: 13.82 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.169/1.704, allocations: 404.6 MB / 1.016 GB, free: 78.47 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003212/1.704, allocations: 94.88 kB / 1.016 GB, free: 78.42 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: 525 * Number of variables: 525 Notification: Performance of Generate backend data structure: time 5.504/7.208, allocations: 1.401 GB / 2.417 GB, free: 52.52 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.208e-05/7.208, allocations: 7.594 kB / 2.417 GB, free: 52.52 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01069/7.219, allocations: 1.401 MB / 2.418 GB, free: 52.27 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07688/7.296, allocations: 27.74 MB / 2.445 GB, free: 50.59 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002131/7.296, allocations: 72.78 kB / 2.445 GB, free: 50.59 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001178/7.297, allocations: 140.6 kB / 2.446 GB, free: 50.59 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005462/7.303, allocations: 1.909 MB / 2.447 GB, free: 50.57 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006708/7.309, allocations: 2.28 MB / 2.45 GB, free: 50.22 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.351e-05/7.309, allocations: 2.875 kB / 2.45 GB, free: 50.22 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000285/7.31, allocations: 5.312 kB / 2.45 GB, free: 50.22 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.843e-05/7.31, allocations: 53.84 kB / 2.45 GB, free: 50.22 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02235/7.332, allocations: 12.1 MB / 2.462 GB, free: 43.85 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003051/7.335, allocations: 2.002 MB / 2.464 GB, free: 43.82 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001028/7.336, allocations: 0.8033 MB / 2.464 GB, free: 43.81 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006486/7.343, allocations: 3.375 MB / 2.468 GB, free: 42.3 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.125e-05/7.343, allocations: 48.94 kB / 2.468 GB, free: 42.27 MB / 0.698 GB Notification: Performance of pre-optimization done (n=113): time 3.697e-06/7.343, allocations: 3.188 kB / 2.468 GB, free: 42.27 MB / 0.698 GB Notification: Performance of matching and sorting (n=113): time 0.01068/7.354, allocations: 3.088 MB / 2.471 GB, free: 41.97 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.917e-05/7.354, allocations: 62.81 kB / 2.471 GB, free: 41.91 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00443/7.358, allocations: 2.606 MB / 2.473 GB, free: 41.61 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002853/7.358, allocations: 31.83 kB / 2.473 GB, free: 41.58 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006836/7.359, allocations: 1.029 MB / 2.474 GB, free: 41.08 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003876/7.359, allocations: 381.2 kB / 2.475 GB, free: 40.83 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000128/7.36, allocations: 0 / 2.475 GB, free: 40.83 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001149/7.36, allocations: 379.2 kB / 2.475 GB, free: 40.53 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001287/7.361, allocations: 0.8539 MB / 2.476 GB, free: 40.52 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001633/7.363, allocations: 1.616 MB / 2.477 GB, free: 39.6 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003785/7.366, allocations: 1.271 MB / 2.479 GB, free: 39.58 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.008e-05/7.366, allocations: 5.625 kB / 2.479 GB, free: 39.58 MB / 0.698 GB Notification: Performance of matching and sorting (n=245) (initialization): time 0.009609/7.376, allocations: 3.443 MB / 2.482 GB, free: 39.27 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.001714/7.378, allocations: 8.057 MB / 2.49 GB, free: 30.94 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.228e-05/7.378, allocations: 18.75 kB / 2.49 GB, free: 30.94 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002133/7.38, allocations: 0.9195 MB / 2.491 GB, free: 30.88 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002021/7.382, allocations: 395.6 kB / 2.491 GB, free: 30.88 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005711/7.388, allocations: 6.02 MB / 2.497 GB, free: 26.71 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004562/7.392, allocations: 332.9 kB / 2.497 GB, free: 26.61 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005514/7.393, allocations: 177.8 kB / 2.498 GB, free: 26.61 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/7.393, allocations: 2.219 kB / 2.498 GB, free: 26.61 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007471/7.401, allocations: 2.802 MB / 2.5 GB, free: 26.51 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.104e-05/7.401, allocations: 19.84 kB / 2.5 GB, free: 26.51 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002896/7.404, allocations: 1.03 MB / 2.501 GB, free: 26.45 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001634/7.405, allocations: 368 kB / 2.502 GB, free: 26.45 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02008/7.425, allocations: 13.91 MB / 2.515 GB, free: 34.76 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004503/7.43, allocations: 252.3 kB / 2.516 GB, free: 34.69 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009496/7.431, allocations: 151 kB / 2.516 GB, free: 34.69 MB / 0.7136 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pum3.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pum2.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pum1.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pum.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: 81 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (189): * Single equations (assignments): 177 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 8 {1 4,1 5,1 4,1 5,1 4,1 5,1 4,1 5} Notification: Performance of prepare postOptimizeDAE: time 0.001146/7.432, allocations: 182.1 kB / 2.516 GB, free: 34.57 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001143/7.433, allocations: 337.2 kB / 2.516 GB, free: 34.39 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01005/7.443, allocations: 3.03 MB / 2.519 GB, free: 34.17 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.438e-05/7.443, allocations: 16.28 kB / 2.519 GB, free: 34.17 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/7.443, allocations: 0 / 2.519 GB, free: 34.17 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.069e-05/7.443, allocations: 6 kB / 2.519 GB, free: 34.17 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006634/7.45, allocations: 2.099 MB / 2.521 GB, free: 33.94 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.187e-05/7.45, allocations: 0 / 2.521 GB, free: 33.94 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001266/7.451, allocations: 206.4 kB / 2.521 GB, free: 33.94 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00152/7.453, allocations: 0.603 MB / 2.522 GB, free: 33.88 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000146/7.453, allocations: 27.34 kB / 2.522 GB, free: 33.88 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005088/7.458, allocations: 5.265 MB / 2.527 GB, free: 29.71 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/7.458, allocations: 2.062 kB / 2.527 GB, free: 29.71 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008883/7.467, allocations: 2.557 MB / 2.53 GB, free: 29.25 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00983/7.477, allocations: 3.144 MB / 2.533 GB, free: 28.42 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002465/7.479, allocations: 0.6086 MB / 2.533 GB, free: 28.12 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006745/7.48, allocations: 0 / 2.533 GB, free: 28.12 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002405/7.483, allocations: 193.3 kB / 2.533 GB, free: 28.11 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001923/7.483, allocations: 78.2 kB / 2.534 GB, free: 28.11 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001913/7.483, allocations: 81.12 kB / 2.534 GB, free: 28.11 MB / 0.7136 GB Notification: Performance of sort global known variables: time 0.004725/7.488, allocations: 1.992 MB / 2.536 GB, free: 27.93 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.01413/7.502, allocations: 2.455 MB / 2.538 GB, free: 27.64 MB / 0.7136 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 (93): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 8 {1 4,1 6,1 4,1 6,1 4,1 6,1 4,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.005209/7.507, allocations: 2.329 MB / 2.54 GB, free: 26.99 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.00866/7.516, allocations: 3.854 MB / 2.544 GB, free: 26.52 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 8.145e-06/7.516, allocations: 0 / 2.544 GB, free: 26.52 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001744/7.518, allocations: 0.7935 MB / 2.545 GB, free: 26.5 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009503/7.527, allocations: 1.509 MB / 2.546 GB, free: 26.47 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01892/7.546, allocations: 5.187 MB / 2.551 GB, free: 25.33 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00332/7.549, allocations: 2.579 MB / 2.554 GB, free: 24.56 MB / 0.7136 GB Notification: Performance of SimCode: time 1.082e-06/7.549, allocations: 5.438 kB / 2.554 GB, free: 24.56 MB / 0.7136 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Movers_Examples_SpeedControlled_y_pumpCurves_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Movers_Examples_SpeedControlled_y_pumpCurves.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe 2>&1)