Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.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.FixedResistances.Validation.PlugFlowPipes.Data.TestData,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData",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.7296/0.7296, allocations: 141.8 MB / 149.1 MB, free: 13.62 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.001304/0.001304, allocations: 186.5 kB / 181.9 MB, free: 10.23 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.345/1.345, allocations: 221.3 MB / 436 MB, free: 2.766 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.0009576/0.0009576, allocations: 98.09 kB / 0.507 GB, free: 17.8 MB / 378.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001886/0.001886, allocations: 270.1 kB / 0.5884 GB, free: 4.242 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 0.4244/0.4264, allocations: 89.66 MB / 0.676 GB, free: 137 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1612/0.5876, allocations: 82.78 MB / 0.7568 GB, free: 83.96 MB / 0.5107 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1272/0.7148, allocations: 111.7 MB / 0.8659 GB, free: 4.137 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002452/0.7151, allocations: 84.86 kB / 0.866 GB, free: 4.055 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.02275/0.7379, allocations: 8.244 MB / 0.874 GB, free: 11.75 MB / 0.5575 GB Notification: Performance of prepare preOptimizeDAE: time 4.498e-05/0.7379, allocations: 8 kB / 0.874 GB, free: 11.74 MB / 0.5575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.728e-05/0.738, allocations: 15.81 kB / 0.874 GB, free: 11.72 MB / 0.5575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004498/0.7385, allocations: 262.6 kB / 0.8743 GB, free: 11.43 MB / 0.5575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.851e-05/0.7385, allocations: 0 / 0.8743 GB, free: 11.43 MB / 0.5575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.472e-05/0.7385, allocations: 7.984 kB / 0.8743 GB, free: 11.42 MB / 0.5575 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003165/0.7389, allocations: 175.8 kB / 0.8745 GB, free: 11.25 MB / 0.5575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002127/0.7391, allocations: 123.3 kB / 0.8746 GB, free: 11.11 MB / 0.5575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.7391, allocations: 7.906 kB / 0.8746 GB, free: 11.11 MB / 0.5575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.848e-05/0.7391, allocations: 3.984 kB / 0.8746 GB, free: 11.1 MB / 0.5575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.7391, allocations: 0 / 0.8746 GB, free: 11.1 MB / 0.5575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003219/0.7395, allocations: 218.1 kB / 0.8748 GB, free: 10.85 MB / 0.5575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002415/0.7397, allocations: 162.4 kB / 0.875 GB, free: 10.68 MB / 0.5575 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.528e-05/0.7398, allocations: 60.84 kB / 0.875 GB, free: 10.62 MB / 0.5575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.399e-05/0.7399, allocations: 4 kB / 0.875 GB, free: 10.62 MB / 0.5575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001705/0.74, allocations: 107.4 kB / 0.8751 GB, free: 10.5 MB / 0.5575 GB Notification: Performance of pre-optimization done (n=13): time 1.503e-06/0.74, allocations: 0 / 0.8751 GB, free: 10.5 MB / 0.5575 GB Notification: Performance of matching and sorting (n=13): time 0.0004091/0.7405, allocations: 181.4 kB / 0.8753 GB, free: 10.32 MB / 0.5575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.612e-05/0.7405, allocations: 81.05 kB / 0.8754 GB, free: 10.22 MB / 0.5575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002393/0.7408, allocations: 221.7 kB / 0.8756 GB, free: 9.992 MB / 0.5575 GB Notification: Performance of collectPreVariables (initialization): time 2.493e-05/0.7408, allocations: 25.7 kB / 0.8756 GB, free: 9.961 MB / 0.5575 GB Notification: Performance of collectInitialEqns (initialization): time 3.929e-05/0.7409, allocations: 100.1 kB / 0.8757 GB, free: 9.859 MB / 0.5575 GB Notification: Performance of collectInitialBindings (initialization): time 5.358e-05/0.7409, allocations: 47.38 kB / 0.8757 GB, free: 9.812 MB / 0.5575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.464e-06/0.7409, allocations: 0 / 0.8757 GB, free: 9.812 MB / 0.5575 GB Notification: Performance of setup shared object (initialization): time 0.000139/0.7411, allocations: 330.7 kB / 0.8761 GB, free: 9.48 MB / 0.5575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.307e-05/0.7412, allocations: 51.98 kB / 0.8761 GB, free: 9.43 MB / 0.5575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001537/0.7413, allocations: 78.55 kB / 0.8762 GB, free: 9.344 MB / 0.5575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001217/0.7415, allocations: 67.5 kB / 0.8763 GB, free: 9.281 MB / 0.5575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.7415, allocations: 0 / 0.8763 GB, free: 9.281 MB / 0.5575 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003309/0.7418, allocations: 201.4 kB / 0.8764 GB, free: 9.078 MB / 0.5575 GB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.7418, allocations: 8.328 kB / 0.8765 GB, free: 9.07 MB / 0.5575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.7418, allocations: 0 / 0.8765 GB, free: 9.07 MB / 0.5575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.7419, allocations: 0 / 0.8765 GB, free: 9.07 MB / 0.5575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001368/0.742, allocations: 27.92 kB / 0.8765 GB, free: 9.043 MB / 0.5575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.627e-06/0.742, allocations: 4 kB / 0.8765 GB, free: 9.039 MB / 0.5575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.958e-05/0.7421, allocations: 11.94 kB / 0.8765 GB, free: 9.027 MB / 0.5575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.866e-05/0.7421, allocations: 8 kB / 0.8765 GB, free: 9.02 MB / 0.5575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEvent,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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 prepare postOptimizeDAE: time 0.0001023/0.7422, allocations: 114.8 kB / 0.8766 GB, free: 8.902 MB / 0.5575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.48e-05/0.7423, allocations: 15.81 kB / 0.8766 GB, free: 8.887 MB / 0.5575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000479/0.7428, allocations: 257.1 kB / 0.8769 GB, free: 8.625 MB / 0.5575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.7428, allocations: 0 / 0.8769 GB, free: 8.625 MB / 0.5575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.015e-06/0.7428, allocations: 4 kB / 0.8769 GB, free: 8.621 MB / 0.5575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/0.7428, allocations: 7.984 kB / 0.8769 GB, free: 8.613 MB / 0.5575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002508/0.7431, allocations: 242.1 kB / 0.8771 GB, free: 8.34 MB / 0.5575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-06/0.7431, allocations: 3.938 kB / 0.8771 GB, free: 8.336 MB / 0.5575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001198/0.7432, allocations: 35.92 kB / 0.8772 GB, free: 8.301 MB / 0.5575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/0.7432, allocations: 0 / 0.8772 GB, free: 8.301 MB / 0.5575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.841e-05/0.7432, allocations: 4 kB / 0.8772 GB, free: 8.297 MB / 0.5575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.7432, allocations: 3.906 kB / 0.8772 GB, free: 8.293 MB / 0.5575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.7433, allocations: 0 / 0.8772 GB, free: 8.293 MB / 0.5575 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003471/0.7436, allocations: 249.3 kB / 0.8774 GB, free: 8.031 MB / 0.5575 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004611/0.7441, allocations: 0.6175 MB / 0.878 GB, free: 7.395 MB / 0.5575 GB Notification: Performance of postOpt removeConstants (simulation): time 7.731e-05/0.7442, allocations: 104.8 kB / 0.8781 GB, free: 7.273 MB / 0.5575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.644e-05/0.7442, allocations: 4 kB / 0.8781 GB, free: 7.27 MB / 0.5575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.236e-05/0.7443, allocations: 4 kB / 0.8781 GB, free: 7.266 MB / 0.5575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.489e-05/0.7444, allocations: 15.97 kB / 0.8781 GB, free: 7.25 MB / 0.5575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.852e-05/0.7444, allocations: 12 kB / 0.8781 GB, free: 7.238 MB / 0.5575 GB Notification: Performance of sort global known variables: time 0.0001879/0.7446, allocations: 184 kB / 0.8783 GB, free: 7.059 MB / 0.5575 GB Notification: Performance of remove unused functions: time 0.0008492/0.7454, allocations: 55.84 kB / 0.8784 GB, free: 7.004 MB / 0.5575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0008854/0.7463, allocations: 373 kB / 0.8787 GB, free: 6.73 MB / 0.5575 GB Notification: Performance of simCode: created initialization part: time 0.0002768/0.7466, allocations: 143.9 kB / 0.8789 GB, free: 6.59 MB / 0.5575 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.7466, allocations: 0 / 0.8789 GB, free: 6.59 MB / 0.5575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001374/0.7468, allocations: 91.86 kB / 0.8789 GB, free: 6.5 MB / 0.5575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002679/0.747, allocations: 23.98 kB / 0.879 GB, free: 6.477 MB / 0.5575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005967/0.7476, allocations: 251.7 kB / 0.8792 GB, free: 6.207 MB / 0.5575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004353/0.7481, allocations: 0.7746 MB / 0.88 GB, free: 5.41 MB / 0.5575 GB Notification: Performance of SimCode: time 3.31e-07/0.7481, allocations: 0 / 0.88 GB, free: 5.41 MB / 0.5575 GB (rm -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData_fmu --startTime=0 --stopTime=603900 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData.fmu > BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe 2>&1)