Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.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.BaseClasses.Validation.FlowMachineInterface,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface",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.7085/0.7085, allocations: 141.8 MB / 149.1 MB, free: 1.168 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.001082/0.001082, allocations: 189.2 kB / 182 MB, free: 0.5508 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.275/1.275, allocations: 221.4 MB / 436 MB, free: 5.293 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.001108/0.001108, allocations: 96.55 kB / 0.507 GB, free: 1.977 MB / 410.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001815/0.001815, allocations: 272.6 kB / 0.5885 GB, free: 47.1 MB / 410.9 MB Notification: Performance of FrontEnd - loaded program: time 0.3355/0.3374, allocations: 89.63 MB / 0.676 GB, free: 59.47 MB / 442.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1342/0.4716, allocations: 82.79 MB / 0.7568 GB, free: 468 kB / 442.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4184/0.89, allocations: 119.9 MB / 0.8739 GB, free: 35.68 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002247/0.8903, allocations: 86.75 kB / 0.874 GB, free: 35.68 MB / 0.5419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.03101/0.9213, allocations: 11.41 MB / 0.8851 GB, free: 34.52 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/0.9214, allocations: 9.062 kB / 0.8851 GB, free: 34.52 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003872/0.9218, allocations: 45.69 kB / 0.8851 GB, free: 34.51 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001252/0.923, allocations: 0.6334 MB / 0.8858 GB, free: 34.25 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.33e-05/0.9231, allocations: 3.906 kB / 0.8858 GB, free: 34.25 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.427e-05/0.9231, allocations: 10.86 kB / 0.8858 GB, free: 34.25 MB / 0.5419 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001976/0.9233, allocations: 113.3 kB / 0.8859 GB, free: 34.25 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001813/0.9235, allocations: 130.6 kB / 0.886 GB, free: 34.22 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.297e-06/0.9235, allocations: 0 / 0.886 GB, free: 34.22 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.948e-05/0.9235, allocations: 0 / 0.886 GB, free: 34.22 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/0.9236, allocations: 0 / 0.886 GB, free: 34.22 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007517/0.9243, allocations: 472.1 kB / 0.8865 GB, free: 33.96 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001857/0.9245, allocations: 145.9 kB / 0.8866 GB, free: 33.93 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.478e-05/0.9246, allocations: 68.64 kB / 0.8867 GB, free: 33.92 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.836e-05/0.9246, allocations: 7.922 kB / 0.8867 GB, free: 33.91 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.36e-05/0.9247, allocations: 30.56 kB / 0.8867 GB, free: 33.87 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=8): time 1.552e-06/0.9247, allocations: 0 / 0.8867 GB, free: 33.87 MB / 0.5419 GB Notification: Performance of matching and sorting (n=8): time 0.0004699/0.9251, allocations: 190.2 kB / 0.8869 GB, free: 33.82 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.748e-05/0.9252, allocations: 59.31 kB / 0.8869 GB, free: 33.76 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002382/0.9254, allocations: 260.4 kB / 0.8872 GB, free: 33.65 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 2.102e-05/0.9255, allocations: 25.7 kB / 0.8872 GB, free: 33.62 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 4.797e-05/0.9255, allocations: 124 kB / 0.8873 GB, free: 33.53 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 2.603e-05/0.9255, allocations: 23.31 kB / 0.8874 GB, free: 33.51 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.293e-05/0.9256, allocations: 0 / 0.8874 GB, free: 33.51 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 6.529e-05/0.9256, allocations: 340 kB / 0.8877 GB, free: 33.2 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.259e-05/0.9257, allocations: 67.55 kB / 0.8877 GB, free: 33.2 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001303/0.9259, allocations: 139.2 kB / 0.8879 GB, free: 33.11 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002603/0.9261, allocations: 97.45 kB / 0.888 GB, free: 33.1 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.9262, allocations: 3.969 kB / 0.888 GB, free: 33.1 MB / 0.5419 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004654/0.9266, allocations: 246.9 kB / 0.8882 GB, free: 33.05 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001383/0.9268, allocations: 0.7057 MB / 0.8889 GB, free: 32.31 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/0.9268, allocations: 0 / 0.8889 GB, free: 32.31 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.9268, allocations: 3.906 kB / 0.8889 GB, free: 32.31 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002506/0.9271, allocations: 47.86 kB / 0.889 GB, free: 32.31 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/0.9271, allocations: 7.812 kB / 0.889 GB, free: 32.31 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001854/0.9273, allocations: 30.64 kB / 0.889 GB, free: 32.29 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.843e-05/0.9273, allocations: 18.64 kB / 0.889 GB, free: 32.29 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 7.263e-06/0.9273, allocations: 6.875 kB / 0.889 GB, free: 32.29 MB / 0.5419 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003349/0.9277, allocations: 158.1 kB / 0.8892 GB, free: 32.29 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.966e-06/0.9277, allocations: 224 / 0.8892 GB, free: 32.29 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.208e-06/0.9277, allocations: 7.906 kB / 0.8892 GB, free: 32.28 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001993/0.9279, allocations: 48.98 kB / 0.8892 GB, free: 32.28 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.917e-06/0.9279, allocations: 7.844 kB / 0.8892 GB, free: 32.27 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001635/0.9281, allocations: 18.72 kB / 0.8892 GB, free: 32.27 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.374e-05/0.9281, allocations: 18.75 kB / 0.8893 GB, free: 32.26 MB / 0.5419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.821e-05/0.9282, allocations: 108.7 kB / 0.8894 GB, free: 32.16 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.547e-05/0.9282, allocations: 23.44 kB / 0.8894 GB, free: 32.14 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003577/0.9286, allocations: 174.2 kB / 0.8896 GB, free: 32.09 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.9286, allocations: 3.906 kB / 0.8896 GB, free: 32.09 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.9286, allocations: 0 / 0.8896 GB, free: 32.09 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.9286, allocations: 0 / 0.8896 GB, free: 32.09 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002143/0.9289, allocations: 239.4 kB / 0.8898 GB, free: 31.93 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.9289, allocations: 3.516 kB / 0.8898 GB, free: 31.93 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001582/0.929, allocations: 31.22 kB / 0.8898 GB, free: 31.92 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.929, allocations: 0 / 0.8898 GB, free: 31.92 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.349e-05/0.9291, allocations: 7.703 kB / 0.8898 GB, free: 31.92 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.9291, allocations: 80 / 0.8898 GB, free: 31.92 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.9291, allocations: 3.984 kB / 0.8898 GB, free: 31.91 MB / 0.5419 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002376/0.9293, allocations: 238.5 kB / 0.8901 GB, free: 31.76 MB / 0.5419 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002867/0.9296, allocations: 0.6131 MB / 0.8907 GB, free: 31.24 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.884e-05/0.9297, allocations: 115 kB / 0.8908 GB, free: 31.13 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.878e-05/0.9297, allocations: 7.906 kB / 0.8908 GB, free: 31.12 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001717/0.9299, allocations: 15.05 kB / 0.8908 GB, free: 31.12 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.278e-05/0.93, allocations: 7.422 kB / 0.8908 GB, free: 31.12 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.371e-05/0.93, allocations: 11.27 kB / 0.8908 GB, free: 31.12 MB / 0.5419 GB Notification: Performance of sort global known variables: time 0.0001499/0.9302, allocations: 208.6 kB / 0.891 GB, free: 31.04 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.001824/0.932, allocations: 216.7 kB / 0.8912 GB, free: 31 MB / 0.5419 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 (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006568/0.9327, allocations: 399.6 kB / 0.8916 GB, free: 30.81 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 0.0004105/0.9331, allocations: 251.4 kB / 0.8918 GB, free: 30.79 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.9331, allocations: 0 / 0.8918 GB, free: 30.79 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 6.811e-05/0.9332, allocations: 48.77 kB / 0.8919 GB, free: 30.79 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003875/0.9336, allocations: 81.22 kB / 0.892 GB, free: 30.78 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006059/0.9342, allocations: 317.7 kB / 0.8923 GB, free: 30.65 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003116/0.9345, allocations: 0.8091 MB / 0.893 GB, free: 29.94 MB / 0.5419 GB Notification: Performance of SimCode: time 5.11e-07/0.9345, allocations: 0 / 0.893 GB, free: 29.94 MB / 0.5419 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface.fmu > BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe 2>&1)