Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVReader.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: translateModel(BuildingSystems.Utilities.IO.Files.Examples.CSVReader,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVReader") translateModel(BuildingSystems.Utilities.IO.Files.Examples.CSVReader,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVReader") [: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.7206/0.7206, allocations: 141.8 MB / 149.1 MB, free: 13.59 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.001047/0.001047, allocations: 177.4 kB / 181.9 MB, free: 10.21 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.354/1.354, allocations: 221.3 MB / 436 MB, free: 2.754 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.0009672/0.0009673, allocations: 99.42 kB / 0.507 GB, free: 17.76 MB / 378.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001895/0.001895, allocations: 281 kB / 0.5884 GB, free: 4.23 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 8.216e-06/8.226e-06, allocations: 1.562 kB / 0.6759 GB, free: 137 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1615/0.1615, allocations: 82.78 MB / 0.7567 GB, free: 84.05 MB / 0.5107 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1378/0.2994, allocations: 112.1 MB / 0.8662 GB, free: 3.742 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000252/0.2997, allocations: 88.83 kB / 0.8663 GB, free: 3.656 MB / 0.5419 GB Notification: Performance of FrontEnd: time 0.01661/0.3163, allocations: 5.807 MB / 0.872 GB, free: 13.84 MB / 0.5575 GB Notification: Performance of Transformations before backend: time 1.497e-05/0.3164, allocations: 4 kB / 0.872 GB, free: 13.84 MB / 0.5575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006914/0.3171, allocations: 450.2 kB / 0.8724 GB, free: 13.35 MB / 0.5575 GB Notification: Performance of prepare preOptimizeDAE: time 5.207e-05/0.3172, allocations: 9.031 kB / 0.8724 GB, free: 13.34 MB / 0.5575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.437e-05/0.3172, allocations: 15.75 kB / 0.8725 GB, free: 13.33 MB / 0.5575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004108/0.3177, allocations: 227.3 kB / 0.8727 GB, free: 13.07 MB / 0.5575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.737e-05/0.3177, allocations: 0 / 0.8727 GB, free: 13.07 MB / 0.5575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.547e-05/0.3177, allocations: 0 / 0.8727 GB, free: 13.07 MB / 0.5575 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001297/0.3178, allocations: 35.97 kB / 0.8727 GB, free: 13.03 MB / 0.5575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001673/0.318, allocations: 89.05 kB / 0.8728 GB, free: 12.93 MB / 0.5575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.318, allocations: 0 / 0.8728 GB, free: 12.93 MB / 0.5575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.76e-05/0.3181, allocations: 0 / 0.8728 GB, free: 12.93 MB / 0.5575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.3181, allocations: 7.938 kB / 0.8728 GB, free: 12.92 MB / 0.5575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002966/0.3184, allocations: 195.9 kB / 0.873 GB, free: 12.68 MB / 0.5575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002046/0.3186, allocations: 95.84 kB / 0.8731 GB, free: 12.56 MB / 0.5575 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.274e-05/0.3187, allocations: 50.67 kB / 0.8731 GB, free: 12.5 MB / 0.5575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.384e-05/0.3187, allocations: 0 / 0.8731 GB, free: 12.5 MB / 0.5575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001763/0.3189, allocations: 93.91 kB / 0.8732 GB, free: 12.39 MB / 0.5575 GB Notification: Performance of pre-optimization done (n=8): time 1.242e-06/0.3189, allocations: 0 / 0.8732 GB, free: 12.39 MB / 0.5575 GB Notification: Performance of matching and sorting (n=8): time 0.0002844/0.3192, allocations: 101.5 kB / 0.8733 GB, free: 12.29 MB / 0.5575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.085e-05/0.3193, allocations: 140.4 kB / 0.8734 GB, free: 12.12 MB / 0.5575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001832/0.3195, allocations: 157.5 kB / 0.8736 GB, free: 11.95 MB / 0.5575 GB Notification: Performance of collectPreVariables (initialization): time 2.981e-05/0.3196, allocations: 33.7 kB / 0.8736 GB, free: 11.91 MB / 0.5575 GB Notification: Performance of collectInitialEqns (initialization): time 4.62e-05/0.3196, allocations: 84.14 kB / 0.8737 GB, free: 11.83 MB / 0.5575 GB Notification: Performance of collectInitialBindings (initialization): time 3.975e-05/0.3197, allocations: 19.7 kB / 0.8737 GB, free: 11.81 MB / 0.5575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.051e-06/0.3197, allocations: 4 kB / 0.8737 GB, free: 11.8 MB / 0.5575 GB Notification: Performance of setup shared object (initialization): time 0.0001673/0.3198, allocations: 322.8 kB / 0.874 GB, free: 11.48 MB / 0.5575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.722e-05/0.3199, allocations: 24.06 kB / 0.8741 GB, free: 11.46 MB / 0.5575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.686e-05/0.32, allocations: 56.22 kB / 0.8741 GB, free: 11.39 MB / 0.5575 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.054e-05/0.3201, allocations: 27.98 kB / 0.8741 GB, free: 11.36 MB / 0.5575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.706e-06/0.3201, allocations: 0 / 0.8741 GB, free: 11.36 MB / 0.5575 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002035/0.3203, allocations: 113.5 kB / 0.8743 GB, free: 11.24 MB / 0.5575 GB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/0.3203, allocations: 11.94 kB / 0.8743 GB, free: 11.23 MB / 0.5575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.605e-06/0.3203, allocations: 0 / 0.8743 GB, free: 11.23 MB / 0.5575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.682e-05/0.3203, allocations: 0 / 0.8743 GB, free: 11.23 MB / 0.5575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001469/0.3205, allocations: 23.98 kB / 0.8743 GB, free: 11.21 MB / 0.5575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.3205, allocations: 0 / 0.8743 GB, free: 11.21 MB / 0.5575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.761e-05/0.3206, allocations: 23.92 kB / 0.8743 GB, free: 11.18 MB / 0.5575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.044e-05/0.3206, allocations: 4 kB / 0.8743 GB, free: 11.18 MB / 0.5575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (10): * Single equations (assignments): 10 * 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.0001015/0.3207, allocations: 106.7 kB / 0.8744 GB, free: 11.07 MB / 0.5575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.94e-05/0.3208, allocations: 15.81 kB / 0.8744 GB, free: 11.05 MB / 0.5575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002406/0.321, allocations: 115 kB / 0.8745 GB, free: 10.94 MB / 0.5575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.624e-06/0.321, allocations: 128 / 0.8745 GB, free: 10.94 MB / 0.5575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.099e-05/0.3211, allocations: 8 kB / 0.8745 GB, free: 10.93 MB / 0.5575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.3211, allocations: 3.984 kB / 0.8746 GB, free: 10.93 MB / 0.5575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001814/0.3213, allocations: 186.1 kB / 0.8747 GB, free: 10.71 MB / 0.5575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.3213, allocations: 0 / 0.8747 GB, free: 10.71 MB / 0.5575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.356e-05/0.3214, allocations: 19.98 kB / 0.8747 GB, free: 10.69 MB / 0.5575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.3214, allocations: 3.938 kB / 0.8748 GB, free: 10.68 MB / 0.5575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.319e-05/0.3214, allocations: 4 kB / 0.8748 GB, free: 10.68 MB / 0.5575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.3214, allocations: 0 / 0.8748 GB, free: 10.68 MB / 0.5575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.397e-06/0.3214, allocations: 3.938 kB / 0.8748 GB, free: 10.68 MB / 0.5575 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002504/0.3217, allocations: 174 kB / 0.8749 GB, free: 10.47 MB / 0.5575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.944e-05/0.3217, allocations: 93.02 kB / 0.875 GB, free: 10.36 MB / 0.5575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.317e-05/0.3218, allocations: 3.906 kB / 0.875 GB, free: 10.36 MB / 0.5575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.999e-05/0.3219, allocations: 15.98 kB / 0.875 GB, free: 10.34 MB / 0.5575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.165e-05/0.3219, allocations: 11.92 kB / 0.875 GB, free: 10.33 MB / 0.5575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.145e-05/0.3219, allocations: 4 kB / 0.875 GB, free: 10.32 MB / 0.5575 GB Notification: Performance of sort global known variables: time 0.0001235/0.3221, allocations: 136.2 kB / 0.8752 GB, free: 10.19 MB / 0.5575 GB Notification: Performance of remove unused functions: time 0.0002681/0.3223, allocations: 35.94 kB / 0.8752 GB, free: 10.16 MB / 0.5575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (10): * Single equations (assignments): 8 * 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.0008517/0.3232, allocations: 350.7 kB / 0.8755 GB, free: 9.898 MB / 0.5575 GB Notification: Performance of simCode: created initialization part: time 0.0001943/0.3234, allocations: 63.92 kB / 0.8756 GB, free: 9.836 MB / 0.5575 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.3234, allocations: 0 / 0.8756 GB, free: 9.836 MB / 0.5575 GB Notification: Performance of simCode: created simulation system equations: time 8.491e-05/0.3235, allocations: 43.92 kB / 0.8757 GB, free: 9.793 MB / 0.5575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003173/0.3238, allocations: 20.3 kB / 0.8757 GB, free: 9.773 MB / 0.5575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004919/0.3243, allocations: 165.2 kB / 0.8758 GB, free: 9.582 MB / 0.5575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004315/0.3248, allocations: 0.727 MB / 0.8765 GB, free: 8.828 MB / 0.5575 GB Notification: Performance of SimCode: time 1.633e-06/0.3248, allocations: 4 kB / 0.8765 GB, free: 8.824 MB / 0.5575 GB Notification: Performance of Templates: time 0.00489/0.3297, allocations: 1.958 MB / 0.8785 GB, free: 6.883 MB / 0.5575 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVReader.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVReader.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVReader.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVReader.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVReader.sim & ./BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVReader -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1)