Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sources.Validation.Outside_CpData_Directions.conf.json 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/IBPSA 4.0.0-master/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) 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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Fluid.Sources.Validation.Outside_CpData_Directions,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sources_Validation_Outside_CpData_Directions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sources.Validation.Outside_CpData_Directions,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sources_Validation_Outside_CpData_Directions",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/Complex 4.0.0+maint.om/package.mo): time 0.001274/0.001274, allocations: 182.7 kB / 7.805 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4589/0.4589, allocations: 90.85 MB / 99.08 MB, free: 14.93 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.379/1.379, allocations: 221.4 MB / 342.8 MB, free: 5.215 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001074/0.001074, allocations: 83.58 kB / 415.5 MB, free: 6.445 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1675/0.1686, allocations: 78.45 MB / 493.9 MB, free: 8.004 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3656/0.5341, allocations: 72.3 MB / 0.553 GB, free: 73.23 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.38/3.914, allocations: 1.891 GB / 2.444 GB, free: 182.1 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002467/3.915, allocations: 83.95 kB / 2.444 GB, free: 182 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 418 * Number of variables: 418 Notification: Performance of Generate backend data structure: time 0.876/4.791, allocations: 328.8 MB / 2.765 GB, free: 88.88 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.294e-05/4.791, allocations: 8 kB / 2.765 GB, free: 88.87 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004077/4.795, allocations: 0.5901 MB / 2.766 GB, free: 88.27 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003613/4.799, allocations: 2.246 MB / 2.768 GB, free: 86.02 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.537e-05/4.799, allocations: 52 kB / 2.768 GB, free: 85.96 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002956/4.799, allocations: 99.91 kB / 2.768 GB, free: 85.87 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002814/4.802, allocations: 1.888 MB / 2.77 GB, free: 83.98 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002554/4.804, allocations: 1.597 MB / 2.772 GB, free: 82.33 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.34e-05/4.804, allocations: 0 / 2.772 GB, free: 82.33 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000181/4.805, allocations: 0 / 2.772 GB, free: 82.33 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.508e-05/4.805, allocations: 43.94 kB / 2.772 GB, free: 82.29 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009455/4.814, allocations: 6.065 MB / 2.778 GB, free: 76.1 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002094/4.816, allocations: 1.824 MB / 2.779 GB, free: 74.19 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008165/4.817, allocations: 0.6674 MB / 2.78 GB, free: 73.52 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006797/4.818, allocations: 0.7455 MB / 2.781 GB, free: 72.64 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001154/4.819, allocations: 0.8621 MB / 2.782 GB, free: 71.76 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=137): time 3.677e-06/4.819, allocations: 4 kB / 2.782 GB, free: 71.75 MB / 0.6042 GB Notification: Performance of matching and sorting (n=137): time 0.003995/4.823, allocations: 1.592 MB / 2.783 GB, free: 70.14 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.299e-05/4.823, allocations: 252.6 kB / 2.783 GB, free: 69.84 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002992/4.826, allocations: 2.351 MB / 2.786 GB, free: 67.47 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001573/4.826, allocations: 29.7 kB / 2.786 GB, free: 67.44 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003929/4.827, allocations: 0.573 MB / 2.786 GB, free: 66.85 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002901/4.827, allocations: 448 kB / 2.787 GB, free: 66.41 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.265e-05/4.827, allocations: 0 / 2.787 GB, free: 66.41 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.429e-05/4.827, allocations: 345.9 kB / 2.787 GB, free: 66.07 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006428/4.828, allocations: 494.4 kB / 2.787 GB, free: 65.58 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007573/4.828, allocations: 0.6935 MB / 2.788 GB, free: 64.83 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008381/4.829, allocations: 0.5635 MB / 2.789 GB, free: 64.27 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/4.829, allocations: 0 / 2.789 GB, free: 64.27 MB / 0.6042 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.003057/4.832, allocations: 1.539 MB / 2.79 GB, free: 62.7 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/4.832, allocations: 7.906 kB / 2.79 GB, free: 62.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/4.832, allocations: 0 / 2.79 GB, free: 62.7 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001021/4.833, allocations: 200.2 kB / 2.79 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001532/4.835, allocations: 315.5 kB / 2.791 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004346/4.839, allocations: 6.509 MB / 2.797 GB, free: 55.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001712/4.841, allocations: 131.2 kB / 2.797 GB, free: 54.96 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002122/4.841, allocations: 71.95 kB / 2.797 GB, free: 54.89 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (132): * Single equations (assignments): 127 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.000365/4.842, allocations: 124.7 kB / 2.797 GB, free: 54.76 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005605/4.842, allocations: 177.8 kB / 2.798 GB, free: 54.58 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004332/4.847, allocations: 2.024 MB / 2.8 GB, free: 52.54 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-05/4.847, allocations: 16 kB / 2.8 GB, free: 52.52 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.032e-05/4.847, allocations: 4 kB / 2.8 GB, free: 52.52 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.32e-05/4.847, allocations: 7.969 kB / 2.8 GB, free: 52.51 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007023/4.854, allocations: 3.868 MB / 2.803 GB, free: 48.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.12e-06/4.854, allocations: 0 / 2.803 GB, free: 48.61 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001569/4.855, allocations: 327.6 kB / 2.804 GB, free: 48.29 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009228/4.856, allocations: 200.1 kB / 2.804 GB, free: 48.08 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001283/4.856, allocations: 31.95 kB / 2.804 GB, free: 48.05 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004049/4.86, allocations: 6.533 MB / 2.81 GB, free: 40.95 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/4.86, allocations: 3.938 kB / 2.81 GB, free: 40.94 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003293/4.864, allocations: 1.721 MB / 2.812 GB, free: 39.19 MB / 0.6042 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003494/4.867, allocations: 2.198 MB / 2.814 GB, free: 36.95 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001495/4.869, allocations: 0.6544 MB / 2.815 GB, free: 36.28 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005452/4.869, allocations: 4 kB / 2.815 GB, free: 36.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001637/4.871, allocations: 119.7 kB / 2.815 GB, free: 36.16 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001871/4.871, allocations: 89.17 kB / 2.815 GB, free: 36.07 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001911/4.871, allocations: 83.89 kB / 2.815 GB, free: 35.99 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.002312/4.874, allocations: 1.824 MB / 2.817 GB, free: 34.17 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.003716/4.877, allocations: 0.9196 MB / 2.818 GB, free: 33.25 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (140): * Single equations (assignments): 133 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002928/4.88, allocations: 1.735 MB / 2.819 GB, free: 31.8 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.00247/4.883, allocations: 1.702 MB / 2.821 GB, free: 30.05 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 7.474e-06/4.883, allocations: 12.59 kB / 2.821 GB, free: 30.04 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001475/4.884, allocations: 1.205 MB / 2.822 GB, free: 28.78 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002401/4.887, allocations: 421.7 kB / 2.823 GB, free: 28.38 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007652/4.894, allocations: 3.002 MB / 2.826 GB, free: 25.33 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002523/4.897, allocations: 1.866 MB / 2.827 GB, free: 23.44 MB / 0.6042 GB Notification: Performance of SimCode: time 9.52e-07/4.897, allocations: 0 / 2.827 GB, free: 23.44 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.Fluid.Sources.Validation.Outside_CpData_Directions.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sources.Validation.Outside_CpData_Directions.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sources.Validation.Outside_CpData_Directions.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sources.Validation.Outside_CpData_Directions.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Sources_Validation_Outside_CpData_Directions_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Sources_Validation_Outside_CpData_Directions.fmu > IBPSA_latest_IBPSA.Fluid.Sources.Validation.Outside_CpData_Directions.pipe 2>&1)