Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.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.Examples.SpeedControlled_y_pumpCurves,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Movers_Examples_SpeedControlled_y_pumpCurves",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves,fileNamePrefix="BuildingSystems_BuildingSystems_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/BuildingSystems 2.0.0-master/package.mo): time 0.7035/0.7035, allocations: 141.8 MB / 149.1 MB, free: 13.09 MB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001115/0.001115, allocations: 187.4 kB / 181.9 MB, free: 9.793 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.334/1.334, allocations: 221.3 MB / 436 MB, free: 2.211 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.000957/0.0009571, allocations: 101.1 kB / 0.507 GB, free: 11 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001872/0.001872, allocations: 284.1 kB / 0.5884 GB, free: 7.812 MB / 474.9 MB Notification: Performance of FrontEnd - loaded program: time 0.421/0.4229, allocations: 89.63 MB / 0.676 GB, free: 168.2 MB / 0.5419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1547/0.5776, allocations: 82.78 MB / 0.7568 GB, free: 118.9 MB / 0.5419 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.681/1.259, allocations: 399.7 MB / 1.147 GB, free: 0.8086 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002196/1.259, allocations: 98.67 kB / 1.147 GB, free: 0.7617 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: 529 * Number of variables: 529 Notification: Performance of Generate backend data structure: time 4.857/6.115, allocations: 1.47 GB / 2.618 GB, free: 67.73 MB / 0.745 GB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/6.116, allocations: 13.03 kB / 2.618 GB, free: 67.73 MB / 0.745 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007445/6.123, allocations: 1.217 MB / 2.619 GB, free: 67.48 MB / 0.745 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07461/6.198, allocations: 29.03 MB / 2.647 GB, free: 65.79 MB / 0.745 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002108/6.198, allocations: 71.12 kB / 2.647 GB, free: 65.79 MB / 0.745 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00112/6.199, allocations: 144.9 kB / 2.647 GB, free: 65.79 MB / 0.745 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00518/6.204, allocations: 1.917 MB / 2.649 GB, free: 65.77 MB / 0.745 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006702/6.211, allocations: 2.294 MB / 2.651 GB, free: 65.42 MB / 0.745 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.102e-05/6.211, allocations: 1.312 kB / 2.651 GB, free: 65.42 MB / 0.745 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005731/6.212, allocations: 4.812 kB / 2.651 GB, free: 65.42 MB / 0.745 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.256e-05/6.212, allocations: 50.78 kB / 2.651 GB, free: 65.42 MB / 0.745 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02214/6.234, allocations: 12.07 MB / 2.663 GB, free: 59.43 MB / 0.745 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002851/6.237, allocations: 1.945 MB / 2.665 GB, free: 59.39 MB / 0.745 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001084/6.238, allocations: 0.8381 MB / 2.666 GB, free: 59.38 MB / 0.745 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007818/6.246, allocations: 4.001 MB / 2.67 GB, free: 57.48 MB / 0.745 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.384e-05/6.246, allocations: 47.06 kB / 2.67 GB, free: 57.44 MB / 0.745 GB Notification: Performance of pre-optimization done (n=119): time 4.659e-06/6.246, allocations: 3.391 kB / 2.67 GB, free: 57.44 MB / 0.745 GB Notification: Performance of matching and sorting (n=119): time 0.008628/6.254, allocations: 2.804 MB / 2.673 GB, free: 57.13 MB / 0.745 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.891e-05/6.255, allocations: 66.56 kB / 2.673 GB, free: 57.07 MB / 0.745 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006949/6.261, allocations: 2.627 MB / 2.675 GB, free: 56.77 MB / 0.745 GB Notification: Performance of collectPreVariables (initialization): time 0.0005712/6.262, allocations: 29.67 kB / 2.675 GB, free: 56.74 MB / 0.745 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009334/6.263, allocations: 1.022 MB / 2.676 GB, free: 56.25 MB / 0.745 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008078/6.264, allocations: 395.7 kB / 2.677 GB, free: 55.98 MB / 0.745 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002657/6.264, allocations: 3 kB / 2.677 GB, free: 55.98 MB / 0.745 GB Notification: Performance of setup shared object (initialization): time 0.0001419/6.264, allocations: 379.2 kB / 2.677 GB, free: 55.68 MB / 0.745 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001396/6.266, allocations: 0.8459 MB / 2.678 GB, free: 55.68 MB / 0.745 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001647/6.267, allocations: 1.627 MB / 2.679 GB, free: 54.72 MB / 0.745 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003729/6.271, allocations: 1.282 MB / 2.681 GB, free: 54.7 MB / 0.745 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.479e-05/6.271, allocations: 3.594 kB / 2.681 GB, free: 54.7 MB / 0.745 GB Notification: Performance of matching and sorting (n=247) (initialization): time 0.008654/6.28, allocations: 3.373 MB / 2.684 GB, free: 54.38 MB / 0.745 GB Notification: Performance of prepare postOptimizeDAE: time 0.001625/6.281, allocations: 8.062 MB / 2.692 GB, free: 46.03 MB / 0.745 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-05/6.281, allocations: 19.86 kB / 2.692 GB, free: 46.03 MB / 0.745 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002023/6.284, allocations: 0.8741 MB / 2.693 GB, free: 45.96 MB / 0.745 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002029/6.286, allocations: 400.9 kB / 2.693 GB, free: 45.94 MB / 0.745 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00462/6.29, allocations: 5.945 MB / 2.699 GB, free: 41.77 MB / 0.745 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00375/6.294, allocations: 314.2 kB / 2.699 GB, free: 41.66 MB / 0.745 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000661/6.295, allocations: 178.9 kB / 2.699 GB, free: 41.66 MB / 0.745 GB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/6.295, allocations: 6.125 kB / 2.699 GB, free: 41.66 MB / 0.745 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007758/6.302, allocations: 2.826 MB / 2.702 GB, free: 41.45 MB / 0.745 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.492e-05/6.303, allocations: 18.28 kB / 2.702 GB, free: 41.45 MB / 0.745 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002731/6.305, allocations: 1.029 MB / 2.703 GB, free: 41.39 MB / 0.745 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001549/6.307, allocations: 376 kB / 2.704 GB, free: 41.36 MB / 0.745 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01741/6.324, allocations: 13.88 MB / 2.717 GB, free: 33.64 MB / 0.745 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004834/6.329, allocations: 257.7 kB / 2.717 GB, free: 33.56 MB / 0.745 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001122/6.33, allocations: 153.7 kB / 2.718 GB, free: 33.56 MB / 0.745 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 (191): * Single equations (assignments): 179 * 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.001682/6.332, allocations: 174.6 kB / 2.718 GB, free: 33.42 MB / 0.745 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001773/6.334, allocations: 348.2 kB / 2.718 GB, free: 33.23 MB / 0.745 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008812/6.343, allocations: 2.981 MB / 2.721 GB, free: 32.96 MB / 0.745 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-05/6.343, allocations: 18.09 kB / 2.721 GB, free: 32.96 MB / 0.745 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.326e-06/6.343, allocations: 3.656 kB / 2.721 GB, free: 32.96 MB / 0.745 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.794e-05/6.343, allocations: 7.5 kB / 2.721 GB, free: 32.96 MB / 0.745 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01281/6.356, allocations: 4.857 MB / 2.726 GB, free: 32.43 MB / 0.745 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.818e-06/6.356, allocations: 0 / 2.726 GB, free: 32.43 MB / 0.745 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001204/6.357, allocations: 225.6 kB / 2.726 GB, free: 32.42 MB / 0.745 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001276/6.358, allocations: 0.5482 MB / 2.726 GB, free: 32.36 MB / 0.745 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001626/6.358, allocations: 40.62 kB / 2.727 GB, free: 32.36 MB / 0.745 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003513/6.362, allocations: 5.192 MB / 2.732 GB, free: 27.88 MB / 0.745 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.252e-06/6.362, allocations: 6.031 kB / 2.732 GB, free: 27.88 MB / 0.745 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006526/6.368, allocations: 2.686 MB / 2.734 GB, free: 26.71 MB / 0.745 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.006689/6.375, allocations: 3.257 MB / 2.737 GB, free: 25.03 MB / 0.745 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001966/6.377, allocations: 0.6145 MB / 2.738 GB, free: 24.62 MB / 0.745 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001206/6.378, allocations: 0 / 2.738 GB, free: 24.62 MB / 0.745 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003138/6.382, allocations: 190 kB / 2.738 GB, free: 24.6 MB / 0.745 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002339/6.382, allocations: 93.69 kB / 2.738 GB, free: 24.59 MB / 0.745 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002591/6.382, allocations: 81.5 kB / 2.738 GB, free: 24.58 MB / 0.745 GB Notification: Performance of sort global known variables: time 0.004594/6.387, allocations: 1.957 MB / 2.74 GB, free: 23.77 MB / 0.745 GB Notification: Performance of remove unused functions: time 0.01211/6.399, allocations: 2.514 MB / 2.743 GB, free: 22.75 MB / 0.745 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (109): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * 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 4,1 4,1 4,1 6,1 6,1 6,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.004736/6.404, allocations: 2.332 MB / 2.745 GB, free: 21.91 MB / 0.745 GB Notification: Performance of simCode: created initialization part: time 0.008908/6.412, allocations: 3.908 MB / 2.749 GB, free: 19.64 MB / 0.745 GB Notification: Performance of simCode: created event and clocks part: time 8.135e-06/6.413, allocations: 3.562 kB / 2.749 GB, free: 19.64 MB / 0.745 GB Notification: Performance of simCode: created simulation system equations: time 0.001741/6.414, allocations: 0.8637 MB / 2.75 GB, free: 18.86 MB / 0.745 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008981/6.423, allocations: 1.504 MB / 2.751 GB, free: 17.71 MB / 0.745 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01468/6.438, allocations: 4.733 MB / 2.756 GB, free: 13.35 MB / 0.745 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004011/6.442, allocations: 2.624 MB / 2.758 GB, free: 11.33 MB / 0.745 GB Notification: Performance of SimCode: time 7.71e-07/6.442, allocations: 0 / 2.758 GB, free: 11.33 MB / 0.745 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Movers_Examples_SpeedControlled_y_pumpCurves_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Movers_Examples_SpeedControlled_y_pumpCurves.fmu > BuildingSystems_BuildingSystems.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe 2>&1)