Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sources.Validation.BoundaryWithXi_in.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.Sources.Validation.BoundaryWithXi_in,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sources_Validation_BoundaryWithXi_in",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sources.Validation.BoundaryWithXi_in,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sources_Validation_BoundaryWithXi_in",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.7094/0.7094, allocations: 141.8 MB / 149.1 MB, free: 1.773 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.001075/0.001075, allocations: 173.3 kB / 181.9 MB, free: 1.223 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.288/1.288, allocations: 221.3 MB / 436 MB, free: 5.938 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.001014/0.001014, allocations: 104.5 kB / 0.507 GB, free: 2.598 MB / 410.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001712/0.001712, allocations: 272.7 kB / 0.5884 GB, free: 47.67 MB / 410.9 MB Notification: Performance of FrontEnd - loaded program: time 0.1503/0.152, allocations: 89.64 MB / 0.676 GB, free: 5.941 MB / 458.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3558/0.5078, allocations: 82.77 MB / 0.7568 GB, free: 25.08 MB / 458.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.267/4.775, allocations: 2.501 GB / 3.258 GB, free: 46.9 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002361/4.775, allocations: 87.88 kB / 3.258 GB, free: 46.82 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: 267 * Number of variables: 267 Notification: Performance of Generate backend data structure: time 4.775/9.551, allocations: 1.423 GB / 4.682 GB, free: 115.6 MB / 0.7294 GB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/9.551, allocations: 9.031 kB / 4.682 GB, free: 115.6 MB / 0.7294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002472/9.553, allocations: 362.5 kB / 4.682 GB, free: 115.6 MB / 0.7294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002253/9.555, allocations: 0.9353 MB / 4.683 GB, free: 115.3 MB / 0.7294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.666e-05/9.555, allocations: 33.47 kB / 4.683 GB, free: 115.3 MB / 0.7294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000284/9.556, allocations: 59 kB / 4.683 GB, free: 115.3 MB / 0.7294 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00175/9.558, allocations: 0.9245 MB / 4.684 GB, free: 115.3 MB / 0.7294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002247/9.56, allocations: 1.304 MB / 4.685 GB, free: 115 MB / 0.7294 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.22e-05/9.56, allocations: 7.359 kB / 4.685 GB, free: 115 MB / 0.7294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001467/9.56, allocations: 4.375 kB / 4.685 GB, free: 115 MB / 0.7294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.219e-05/9.56, allocations: 55.44 kB / 4.685 GB, free: 115 MB / 0.7294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00579/9.566, allocations: 5.033 MB / 4.69 GB, free: 112.2 MB / 0.7294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005382/9.566, allocations: 297.4 kB / 4.69 GB, free: 112.2 MB / 0.7294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002905/9.567, allocations: 260.8 kB / 4.691 GB, free: 112.2 MB / 0.7294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008774/9.568, allocations: 1.073 MB / 4.692 GB, free: 111 MB / 0.7294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.922e-05/9.568, allocations: 40.53 kB / 4.692 GB, free: 111 MB / 0.7294 GB Notification: Performance of pre-optimization done (n=28): time 2.905e-06/9.568, allocations: 0 / 4.692 GB, free: 111 MB / 0.7294 GB Notification: Performance of matching and sorting (n=28): time 0.002337/9.57, allocations: 0.5769 MB / 4.692 GB, free: 110.9 MB / 0.7294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.208e-05/9.57, allocations: 83.66 kB / 4.692 GB, free: 110.8 MB / 0.7294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001009/9.571, allocations: 0.5593 MB / 4.693 GB, free: 110.7 MB / 0.7294 GB Notification: Performance of collectPreVariables (initialization): time 8.185e-05/9.571, allocations: 33.05 kB / 4.693 GB, free: 110.7 MB / 0.7294 GB Notification: Performance of collectInitialEqns (initialization): time 0.000362/9.572, allocations: 461.3 kB / 4.693 GB, free: 110.5 MB / 0.7294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001191/9.572, allocations: 92.66 kB / 4.693 GB, free: 110.4 MB / 0.7294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.205e-05/9.572, allocations: 0 / 4.693 GB, free: 110.4 MB / 0.7294 GB Notification: Performance of setup shared object (initialization): time 0.0001166/9.572, allocations: 321.9 kB / 4.694 GB, free: 110.1 MB / 0.7294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002089/9.572, allocations: 150.7 kB / 4.694 GB, free: 110.1 MB / 0.7294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003416/9.572, allocations: 311.9 kB / 4.694 GB, free: 109.9 MB / 0.7294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004748/9.573, allocations: 236.5 kB / 4.694 GB, free: 109.9 MB / 0.7294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.702e-06/9.573, allocations: 0 / 4.694 GB, free: 109.9 MB / 0.7294 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0009152/9.574, allocations: 0.5075 MB / 4.695 GB, free: 109.9 MB / 0.7294 GB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/9.574, allocations: 5.875 kB / 4.695 GB, free: 109.9 MB / 0.7294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.278e-06/9.574, allocations: 3.531 kB / 4.695 GB, free: 109.9 MB / 0.7294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.586e-05/9.574, allocations: 10.91 kB / 4.695 GB, free: 109.9 MB / 0.7294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002594/9.574, allocations: 61.86 kB / 4.695 GB, free: 109.9 MB / 0.7294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.631e-05/9.574, allocations: 3.844 kB / 4.695 GB, free: 109.9 MB / 0.7294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005445/9.575, allocations: 23.81 kB / 4.695 GB, free: 109.9 MB / 0.7294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.684e-05/9.575, allocations: 20.66 kB / 4.695 GB, free: 109.9 MB / 0.7294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 32 * 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.0001229/9.575, allocations: 129.2 kB / 4.695 GB, free: 109.8 MB / 0.7294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000168/9.575, allocations: 78.78 kB / 4.695 GB, free: 109.7 MB / 0.7294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005441/9.576, allocations: 316.4 kB / 4.696 GB, free: 109.7 MB / 0.7294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/9.576, allocations: 3.062 kB / 4.696 GB, free: 109.7 MB / 0.7294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.225e-06/9.576, allocations: 3.469 kB / 4.696 GB, free: 109.7 MB / 0.7294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.113e-06/9.576, allocations: 3.562 kB / 4.696 GB, free: 109.7 MB / 0.7294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003597/9.579, allocations: 2.348 MB / 4.698 GB, free: 108.8 MB / 0.7294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.027e-05/9.579, allocations: 4.25 kB / 4.698 GB, free: 108.8 MB / 0.7294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001994/9.58, allocations: 56.81 kB / 4.698 GB, free: 108.8 MB / 0.7294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.094e-05/9.58, allocations: 5.531 kB / 4.698 GB, free: 108.8 MB / 0.7294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.473e-05/9.58, allocations: 8.031 kB / 4.698 GB, free: 108.8 MB / 0.7294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.953e-06/9.58, allocations: 14.09 kB / 4.698 GB, free: 108.8 MB / 0.7294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.028e-05/9.58, allocations: 16.41 kB / 4.698 GB, free: 108.8 MB / 0.7294 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006565/9.58, allocations: 0.8332 MB / 4.699 GB, free: 108.1 MB / 0.7294 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0009622/9.581, allocations: 1.291 MB / 4.7 GB, free: 107 MB / 0.7294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003148/9.582, allocations: 203.5 kB / 4.7 GB, free: 106.9 MB / 0.7294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001482/9.582, allocations: 13.22 kB / 4.7 GB, free: 106.9 MB / 0.7294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003151/9.582, allocations: 16.45 kB / 4.7 GB, free: 106.9 MB / 0.7294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.478e-05/9.582, allocations: 38.77 kB / 4.7 GB, free: 106.9 MB / 0.7294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.571e-05/9.582, allocations: 17.53 kB / 4.7 GB, free: 106.9 MB / 0.7294 GB Notification: Performance of sort global known variables: time 0.0004808/9.583, allocations: 474.1 kB / 4.701 GB, free: 106.8 MB / 0.7294 GB Notification: Performance of remove unused functions: time 0.00279/9.585, allocations: 0.7036 MB / 4.701 GB, free: 106.7 MB / 0.7294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 26 * 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.004551/9.59, allocations: 2.439 MB / 4.704 GB, free: 106.3 MB / 0.7294 GB Notification: Performance of simCode: created initialization part: time 0.0006334/9.591, allocations: 342.7 kB / 4.704 GB, free: 106.3 MB / 0.7294 GB Notification: Performance of simCode: created event and clocks part: time 7.314e-06/9.591, allocations: 3.375 kB / 4.704 GB, free: 106.3 MB / 0.7294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002029/9.591, allocations: 157 kB / 4.704 GB, free: 106.3 MB / 0.7294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002285/9.593, allocations: 418.2 kB / 4.705 GB, free: 106.3 MB / 0.7294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003235/9.596, allocations: 1.447 MB / 4.706 GB, free: 105.7 MB / 0.7294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001136/9.598, allocations: 1.29 MB / 4.707 GB, free: 105 MB / 0.7294 GB Notification: Performance of SimCode: time 9.62e-07/9.598, allocations: 0 / 4.707 GB, free: 105 MB / 0.7294 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Sources.Validation.BoundaryWithXi_in.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sources.Validation.BoundaryWithXi_in.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sources.Validation.BoundaryWithXi_in.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sources.Validation.BoundaryWithXi_in.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Sources_Validation_BoundaryWithXi_in_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Sources_Validation_BoundaryWithXi_in.fmu > BuildingSystems_BuildingSystems.Fluid.Sources.Validation.BoundaryWithXi_in.pipe 2>&1)