Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.IO.Files.Examples.CSVWriter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001226/0.001226, allocations: 110.2 kB / 19.69 MB, free: 2.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001312/0.001312, allocations: 213 kB / 23.01 MB, free: 4.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.314/1.314, allocations: 230.6 MB / 256.8 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo): time 0.8651/0.8651, allocations: 145 MB / 458.2 MB, free: 15.5 MB / 366.1 MB " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Utilities.IO.Files.Examples.CSVWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.IO.Files.Examples.CSVWriter") translateModel(BuildSysPro.IBPSA.Utilities.IO.Files.Examples.CSVWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.IO.Files.Examples.CSVWriter") [Timeout 660] "Notification: BuildSysPro requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00191/0.00191, allocations: 76.3 kB / 0.6344 GB, free: 6.812 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1546/0.1565, allocations: 87.88 MB / 0.7202 GB, free: 14.94 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.IO.Files.Examples.CSVWriter): time 0.002859/0.1593, allocations: 1.657 MB / 0.7218 GB, free: 13.27 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0011/0.1604, allocations: 0.698 MB / 0.7225 GB, free: 12.56 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.548e-05/0.1605, allocations: 3.938 kB / 0.7225 GB, free: 12.56 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001411/0.1606, allocations: 19.84 kB / 0.7225 GB, free: 12.54 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002063/0.1608, allocations: 50.19 kB / 0.7226 GB, free: 12.49 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004238/0.1613, allocations: 123.7 kB / 0.7227 GB, free: 12.37 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002667/0.1615, allocations: 187.6 kB / 0.7229 GB, free: 12.19 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001008/0.1616, allocations: 21.56 kB / 0.7229 GB, free: 12.16 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000183/0.1618, allocations: 87.81 kB / 0.723 GB, free: 12.07 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001406/0.162, allocations: 87.72 kB / 0.7231 GB, free: 11.99 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.55e-05/0.162, allocations: 16 kB / 0.7231 GB, free: 11.97 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 8.174e-05/0.1621, allocations: 39.97 kB / 0.7231 GB, free: 11.93 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 8.249e-05/0.1622, allocations: 35.8 kB / 0.7232 GB, free: 11.9 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 8.866e-05/0.1622, allocations: 71.7 kB / 0.7232 GB, free: 11.83 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002443/0.1625, allocations: 179.3 kB / 0.7234 GB, free: 11.65 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.1625, allocations: 0 / 0.7234 GB, free: 11.65 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.233e-06/0.1625, allocations: 0 / 0.7234 GB, free: 11.65 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.529e-06/0.1625, allocations: 0 / 0.7234 GB, free: 11.65 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006717/0.1632, allocations: 0.4964 MB / 0.7239 GB, free: 11.1 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.577e-05/0.1632, allocations: 8.031 kB / 0.7239 GB, free: 11.09 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001616/0.1634, allocations: 24.88 kB / 0.7239 GB, free: 11.07 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002913/0.1637, allocations: 170.5 kB / 0.7241 GB, free: 10.88 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.786e-05/0.1637, allocations: 12.38 kB / 0.7241 GB, free: 10.87 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.183e-05/0.1637, allocations: 16.31 kB / 0.7241 GB, free: 10.85 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002691/0.164, allocations: 121.7 kB / 0.7242 GB, free: 10.73 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.164, allocations: 11.92 kB / 0.7242 GB, free: 10.71 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.637e-05/0.164, allocations: 4 kB / 0.7242 GB, free: 10.71 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.657e-06/0.164, allocations: 0 / 0.7242 GB, free: 10.71 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001827/0.1642, allocations: 71.94 kB / 0.7243 GB, free: 10.64 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000625/0.1648, allocations: 383.6 kB / 0.7247 GB, free: 10.22 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001866/0.165, allocations: 82.53 kB / 0.7247 GB, free: 10.13 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001519/0.1652, allocations: 68.81 kB / 0.7248 GB, free: 10.06 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.44e-05/0.1652, allocations: 3.984 kB / 0.7248 GB, free: 10.06 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002629/0.1654, allocations: 182.9 kB / 0.725 GB, free: 9.855 MB / 0.545 GB Notification: Performance of pre-optimization done (n=10): time 1.373e-06/0.1654, allocations: 0 / 0.725 GB, free: 9.855 MB / 0.545 GB Notification: Performance of matching and sorting (n=10): time 0.000709/0.1662, allocations: 356.8 kB / 0.7253 GB, free: 9.488 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000103/0.1663, allocations: 166.2 kB / 0.7255 GB, free: 9.289 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001764/0.1664, allocations: 184.1 kB / 0.7257 GB, free: 9.098 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.458e-05/0.1665, allocations: 25.7 kB / 0.7257 GB, free: 9.066 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.156e-05/0.1665, allocations: 116.3 kB / 0.7258 GB, free: 8.945 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.119e-05/0.1666, allocations: 27.83 kB / 0.7258 GB, free: 8.918 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.777e-05/0.1666, allocations: 41.7 kB / 0.7259 GB, free: 8.871 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001352/0.1668, allocations: 330.8 kB / 0.7262 GB, free: 8.539 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001288/0.1669, allocations: 51.95 kB / 0.7262 GB, free: 8.488 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001781/0.1671, allocations: 98.83 kB / 0.7263 GB, free: 8.367 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003443/0.1674, allocations: 316.9 kB / 0.7266 GB, free: 7.996 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.1674, allocations: 0 / 0.7266 GB, free: 7.996 MB / 0.545 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0005204/0.1679, allocations: 348.1 kB / 0.727 GB, free: 7.625 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 8.63e-05/0.168, allocations: 118.8 kB / 0.7271 GB, free: 7.484 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.583e-06/0.168, allocations: 4 kB / 0.7271 GB, free: 7.48 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.1681, allocations: 256 / 0.7271 GB, free: 7.48 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000104/0.1682, allocations: 23.98 kB / 0.7271 GB, free: 7.457 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.495e-06/0.1682, allocations: 3.938 kB / 0.7271 GB, free: 7.453 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.614e-05/0.1683, allocations: 19.88 kB / 0.7271 GB, free: 7.434 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.852e-05/0.1683, allocations: 12.28 kB / 0.7271 GB, free: 7.422 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 8 (combiTimeTableWriter.str,$PRE.combiTimeTableWriter.str,csvWriter.str,$PRE.csvWriter.str,combiTimeTableWriter.sampleTrigger,$whenCondition2,csvWriter.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001658/0.1684, allocations: 197.7 kB / 0.7273 GB, free: 7.207 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.416e-05/0.1685, allocations: 19.91 kB / 0.7273 GB, free: 7.188 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.612e-05/0.1685, allocations: 25.33 kB / 0.7274 GB, free: 7.16 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.1685, allocations: 0 / 0.7274 GB, free: 7.16 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.1685, allocations: 4 kB / 0.7274 GB, free: 7.156 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.1685, allocations: 0 / 0.7274 GB, free: 7.156 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007878/0.1693, allocations: 0.5632 MB / 0.7279 GB, free: 6.531 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.1693, allocations: 0 / 0.7279 GB, free: 6.531 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.901e-05/0.1694, allocations: 8 kB / 0.7279 GB, free: 6.523 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.1694, allocations: 3.984 kB / 0.7279 GB, free: 6.52 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.431e-05/0.1694, allocations: 12 kB / 0.7279 GB, free: 6.508 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.1694, allocations: 0 / 0.7279 GB, free: 6.508 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.1694, allocations: 15.88 kB / 0.728 GB, free: 6.492 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006074/0.17, allocations: 402.7 kB / 0.7283 GB, free: 6.07 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 2.057e-05/0.17, allocations: 11.91 kB / 0.7284 GB, free: 6.059 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.685e-05/0.1701, allocations: 7.984 kB / 0.7284 GB, free: 6.051 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000107/0.1702, allocations: 8 kB / 0.7284 GB, free: 6.043 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.9e-05/0.1703, allocations: 11.92 kB / 0.7284 GB, free: 6.031 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.849e-05/0.1703, allocations: 12 kB / 0.7284 GB, free: 6.02 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001189/0.1704, allocations: 132.1 kB / 0.7285 GB, free: 5.891 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.1704, allocations: 3.938 kB / 0.7285 GB, free: 5.887 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002838/0.1707, allocations: 32 kB / 0.7285 GB, free: 5.855 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$whenCondition2,combiTimeTableWriter.str,combiTimeTableWriter.sampleTrigger,csvWriter.str,csvWriter.sampleTrigger) * Number of discrete states: 4 (combiTimeTableWriter.str,$whenCondition2,csvWriter.str,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002652/0.1709, allocations: 135.3 kB / 0.7287 GB, free: 5.719 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004967/0.1714, allocations: 353.5 kB / 0.729 GB, free: 5.324 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.1714, allocations: 0 / 0.729 GB, free: 5.324 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002292/0.1717, allocations: 186.7 kB / 0.7292 GB, free: 5.117 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003144/0.172, allocations: 19.75 kB / 0.7292 GB, free: 5.098 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006074/0.1726, allocations: 326.1 kB / 0.7295 GB, free: 4.742 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003134/0.1729, allocations: 0.708 MB / 0.7302 GB, free: 4.008 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.016e-05/0.1729, allocations: 19.44 kB / 0.7302 GB, free: 3.988 MB / 0.545 GB Notification: Performance of SimCode: time 3.41e-07/0.1729, allocations: 0 / 0.7302 GB, free: 3.988 MB / 0.545 GB Notification: Performance of Templates: time 0.004225/0.1772, allocations: 2.227 MB / 0.7324 GB, free: 1.781 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.IO.Files.Examples.CSVWriter.makefile [Timeout 660] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.IO.Files.Examples.CSVWriter.makefile clang++ -std=c++17 -fopenmp=libomp -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildSysPro_BuildSysPro.IBPSA.Utilities.IO.Files.Examples.CSVWriterCalcHelperMain.o OMCppBuildSysPro_BuildSysPro.IBPSA.Utilities.IO.Files.Examples.CSVWriterCalcHelperMain.cpp In file included from OMCppBuildSysPro_BuildSysPro.IBPSA.Utilities.IO.Files.Examples.CSVWriterCalcHelperMain.cpp:28: ./OMCppBuildSysPro_BuildSysPro.IBPSA.Utilities.IO.Files.Examples.CSVWriterFunctions.cpp:5:10: fatal error: 'fileWriterStructure.h' file not found #include "fileWriterStructure.h" ^~~~~~~~~~~~~~~~~~~~~~~ 1 error generated. make: *** [: OMCppBuildSysPro_BuildSysPro.IBPSA.Utilities.IO.Files.Examples.CSVWriterCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 4.454747664975002] Failed to read output from testmodel.py, exit status != 0: 0.1851986669935286 0.19829876799999996 0.03300933399999994 Calling exit ...