Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.IO.Files.Examples.CSVReader.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.IO.Files.Examples.CSVReader,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_IO_Files_Examples_CSVReader",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.IO.Files.Examples.CSVReader,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_IO_Files_Examples_CSVReader",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/BuildSysPro 3.5.0/package.mo): time 0.7526/0.7526, allocations: 127.4 MB / 134.6 MB, free: 4.105 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001176/0.001176, allocations: 185.3 kB / 164.4 MB, free: 6.879 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.527/1.527, allocations: 205.1 MB / 399.1 MB, free: 6.156 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009363/0.0009363, allocations: 81.84 kB / 476.3 MB, free: 8.91 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.271/0.2719, allocations: 82.89 MB / 0.5461 GB, free: 42.68 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1518/0.4237, allocations: 76.76 MB / 0.621 GB, free: 13.85 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4294/0.8531, allocations: 105.7 MB / 0.7242 GB, free: 6.641 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002632/0.8535, allocations: 87.94 kB / 0.7243 GB, free: 6.555 MB / 490.7 MB 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.01928/0.8728, allocations: 6.089 MB / 0.7302 GB, free: 452 kB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.311e-05/0.8728, allocations: 11.98 kB / 0.7302 GB, free: 440 kB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.783e-05/0.8729, allocations: 19.81 kB / 0.7303 GB, free: 420 kB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004858/0.8734, allocations: 214.7 kB / 0.7305 GB, free: 164 kB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.062e-05/0.8735, allocations: 0 / 0.7305 GB, free: 164 kB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.869e-05/0.8735, allocations: 4 kB / 0.7305 GB, free: 160 kB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001294/0.8736, allocations: 35.97 kB / 0.7305 GB, free: 124 kB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001631/0.8738, allocations: 93.03 kB / 0.7306 GB, free: 12 kB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.8738, allocations: 4 kB / 0.7306 GB, free: 8 kB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.569e-05/0.8738, allocations: 0 / 0.7306 GB, free: 8 kB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.253e-06/0.8739, allocations: 4 kB / 0.7306 GB, free: 4 kB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002785/0.8741, allocations: 187.9 kB / 0.7308 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001943/0.8743, allocations: 111.8 kB / 0.7309 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.397e-05/0.8744, allocations: 34.64 kB / 0.7309 GB, free: 15.6 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.211e-05/0.8744, allocations: 4 kB / 0.7309 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001463/0.8746, allocations: 101.9 kB / 0.731 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=8): time 1.532e-06/0.8746, allocations: 4 kB / 0.731 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of matching and sorting (n=8): time 0.0002933/0.8749, allocations: 97.48 kB / 0.7311 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.195e-05/0.875, allocations: 132.5 kB / 0.7312 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001888/0.8752, allocations: 169.5 kB / 0.7314 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.073e-05/0.8752, allocations: 25.7 kB / 0.7314 GB, free: 15 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.172e-05/0.8753, allocations: 96.06 kB / 0.7315 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.139e-05/0.8753, allocations: 27.64 kB / 0.7315 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.392e-06/0.8753, allocations: 0 / 0.7315 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001569/0.8755, allocations: 326.9 kB / 0.7319 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.391e-05/0.8756, allocations: 20 kB / 0.7319 GB, free: 14.53 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.531e-05/0.8756, allocations: 56.28 kB / 0.7319 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.644e-05/0.8757, allocations: 23.98 kB / 0.7319 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.8757, allocations: 4.031 kB / 0.732 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002298/0.876, allocations: 105.4 kB / 0.7321 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.111e-05/0.876, allocations: 7.984 kB / 0.7321 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.228e-06/0.876, allocations: 7.938 kB / 0.7321 GB, free: 14.31 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.876, allocations: 0 / 0.7321 GB, free: 14.31 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001449/0.8762, allocations: 19.98 kB / 0.7321 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.323e-06/0.8762, allocations: 4 kB / 0.7321 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.829e-05/0.8763, allocations: 16 kB / 0.7321 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.397e-05/0.8763, allocations: 7.984 kB / 0.7321 GB, free: 14.26 MB / 0.4948 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.000109/0.8765, allocations: 112.4 kB / 0.7322 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.122e-05/0.8765, allocations: 11.81 kB / 0.7322 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002191/0.8767, allocations: 111 kB / 0.7323 GB, free: 14.03 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/0.8767, allocations: 4 kB / 0.7323 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/0.8767, allocations: 4 kB / 0.7323 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.8768, allocations: 0 / 0.7323 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001872/0.8769, allocations: 190 kB / 0.7325 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.877, allocations: 0 / 0.7325 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.713e-05/0.8771, allocations: 19.98 kB / 0.7325 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.8771, allocations: 0 / 0.7325 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.753e-05/0.8771, allocations: 3.984 kB / 0.7326 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/0.8771, allocations: 7.938 kB / 0.7326 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.928e-06/0.8771, allocations: 0 / 0.7326 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002777/0.8774, allocations: 169.9 kB / 0.7327 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003953/0.8778, allocations: 0.5494 MB / 0.7333 GB, free: 12.97 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.554e-05/0.8779, allocations: 92.92 kB / 0.7333 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.702e-05/0.8779, allocations: 3.984 kB / 0.7333 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.52e-05/0.878, allocations: 12 kB / 0.7334 GB, free: 12.85 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.42e-05/0.8781, allocations: 7.984 kB / 0.7334 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.311e-05/0.8781, allocations: 4 kB / 0.7334 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.0001604/0.8783, allocations: 135.2 kB / 0.7335 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0009329/0.8792, allocations: 39.91 kB / 0.7335 GB, free: 12.66 MB / 0.4948 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.0008402/0.8801, allocations: 361.1 kB / 0.7339 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.000172/0.8803, allocations: 63.92 kB / 0.7339 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.8803, allocations: 0 / 0.7339 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 8.524e-05/0.8804, allocations: 43.88 kB / 0.734 GB, free: 12.28 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002614/0.8806, allocations: 19.98 kB / 0.734 GB, free: 12.26 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004683/0.8811, allocations: 161.6 kB / 0.7342 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004125/0.8815, allocations: 0.7309 MB / 0.7349 GB, free: 11.31 MB / 0.4948 GB Notification: Performance of SimCode: time 2.6e-07/0.8816, allocations: 0 / 0.7349 GB, free: 11.31 MB / 0.4948 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.IO.Files.Examples.CSVReader.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.IO.Files.Examples.CSVReader.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.IO.Files.Examples.CSVReader.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.IO.Files.Examples.CSVReader.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_IO_Files_Examples_CSVReader_fmu --startTime=-1.21 --stopTime=10 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_IO_Files_Examples_CSVReader.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1)