Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.IO.Files.Examples.JSONWriter.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.001652/0.001652, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001579/0.001579, allocations: 212.3 kB / 22.25 MB, free: 5.262 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.424/1.424, allocations: 230.6 MB / 256 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] 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.9077/0.9077, allocations: 145 MB / 457.4 MB, free: 15.27 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.JSONWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.IO.Files.Examples.JSONWriter") translateModel(BuildSysPro.IBPSA.Utilities.IO.Files.Examples.JSONWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.IO.Files.Examples.JSONWriter") [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.002039/0.002039, allocations: 63.19 kB / 0.6335 GB, free: 6.207 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1759/0.1779, allocations: 87.9 MB / 0.7194 GB, free: 14.33 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.IO.Files.Examples.JSONWriter): time 0.003848/0.1817, allocations: 1.633 MB / 0.721 GB, free: 12.68 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001328/0.1831, allocations: 0.585 MB / 0.7215 GB, free: 12.09 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001224/0.1832, allocations: 3.938 kB / 0.7215 GB, free: 12.09 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002008/0.1834, allocations: 31.78 kB / 0.7216 GB, free: 12.05 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0003031/0.1837, allocations: 59.69 kB / 0.7216 GB, free: 12 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002643/0.184, allocations: 83.83 kB / 0.7217 GB, free: 11.91 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002491/0.1842, allocations: 135.5 kB / 0.7218 GB, free: 11.78 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001562/0.1844, allocations: 29.67 kB / 0.7219 GB, free: 11.75 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001828/0.1845, allocations: 63.7 kB / 0.7219 GB, free: 11.68 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001248/0.1847, allocations: 63.67 kB / 0.722 GB, free: 11.62 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.102e-05/0.1847, allocations: 8 kB / 0.722 GB, free: 11.61 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 8.276e-05/0.1848, allocations: 24 kB / 0.722 GB, free: 11.59 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001208/0.1849, allocations: 47.83 kB / 0.7221 GB, free: 11.54 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 6.091e-05/0.185, allocations: 47.67 kB / 0.7221 GB, free: 11.5 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002759/0.1852, allocations: 163.2 kB / 0.7223 GB, free: 11.34 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.776e-06/0.1852, allocations: 0 / 0.7223 GB, free: 11.34 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.372e-06/0.1852, allocations: 0 / 0.7223 GB, free: 11.34 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.071e-06/0.1853, allocations: 4 kB / 0.7223 GB, free: 11.33 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0007205/0.186, allocations: 401.3 kB / 0.7227 GB, free: 10.91 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/0.186, allocations: 8.031 kB / 0.7227 GB, free: 10.9 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000195/0.1862, allocations: 32.73 kB / 0.7227 GB, free: 10.87 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003926/0.1866, allocations: 182.2 kB / 0.7229 GB, free: 10.67 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.591e-05/0.1866, allocations: 8.375 kB / 0.7229 GB, free: 10.66 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.314e-05/0.1866, allocations: 4.375 kB / 0.7229 GB, free: 10.66 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003446/0.187, allocations: 161.3 kB / 0.723 GB, free: 10.48 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.187, allocations: 4 kB / 0.723 GB, free: 10.48 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.265e-05/0.187, allocations: 0 / 0.723 GB, free: 10.48 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.159e-06/0.187, allocations: 0 / 0.723 GB, free: 10.48 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002401/0.1872, allocations: 71.88 kB / 0.7231 GB, free: 10.41 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005971/0.1878, allocations: 312.2 kB / 0.7234 GB, free: 10.07 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001417/0.188, allocations: 38.55 kB / 0.7234 GB, free: 10.02 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001059/0.1881, allocations: 28.91 kB / 0.7235 GB, free: 9.992 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.961e-05/0.1881, allocations: 7.984 kB / 0.7235 GB, free: 9.984 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002744/0.1884, allocations: 148.5 kB / 0.7236 GB, free: 9.809 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 1.232e-06/0.1884, allocations: 0 / 0.7236 GB, free: 9.809 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0004738/0.1889, allocations: 117.5 kB / 0.7237 GB, free: 9.688 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.298e-05/0.1889, allocations: 81.05 kB / 0.7238 GB, free: 9.59 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003396/0.1893, allocations: 236.1 kB / 0.724 GB, free: 9.352 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.729e-05/0.1893, allocations: 33.7 kB / 0.7241 GB, free: 9.312 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001063/0.1894, allocations: 136 kB / 0.7242 GB, free: 9.176 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.279e-05/0.1894, allocations: 11.94 kB / 0.7242 GB, free: 9.164 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.135e-05/0.1895, allocations: 13.72 kB / 0.7242 GB, free: 9.145 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001604/0.1896, allocations: 334.8 kB / 0.7245 GB, free: 8.809 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001155/0.1897, allocations: 23.98 kB / 0.7246 GB, free: 8.785 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001449/0.1899, allocations: 77.11 kB / 0.7246 GB, free: 8.691 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002134/0.1901, allocations: 78.48 kB / 0.7247 GB, free: 8.605 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.1901, allocations: 0 / 0.7247 GB, free: 8.605 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002922/0.1904, allocations: 97.48 kB / 0.7248 GB, free: 8.504 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.1904, allocations: 5.969 kB / 0.7248 GB, free: 8.5 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.1904, allocations: 8 kB / 0.7248 GB, free: 8.492 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.1904, allocations: 288 / 0.7248 GB, free: 8.492 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000101/0.1905, allocations: 11.98 kB / 0.7248 GB, free: 8.48 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.1905, allocations: 3.938 kB / 0.7248 GB, free: 8.477 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.186e-05/0.1906, allocations: 19.92 kB / 0.7249 GB, free: 8.457 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.673e-06/0.1906, allocations: 0 / 0.7249 GB, free: 8.457 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * 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.0001112/0.1907, allocations: 133.8 kB / 0.725 GB, free: 8.316 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.957e-05/0.1908, allocations: 15.91 kB / 0.725 GB, free: 8.301 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.738e-05/0.1908, allocations: 21.02 kB / 0.725 GB, free: 8.277 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.1908, allocations: 4 kB / 0.725 GB, free: 8.273 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.1908, allocations: 3.938 kB / 0.725 GB, free: 8.27 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.983e-06/0.1908, allocations: 4 kB / 0.725 GB, free: 8.266 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001517/0.191, allocations: 145.3 kB / 0.7252 GB, free: 8.094 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.191, allocations: 0 / 0.7252 GB, free: 8.094 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.57e-05/0.1911, allocations: 11.98 kB / 0.7252 GB, free: 8.082 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.1911, allocations: 0 / 0.7252 GB, free: 8.082 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.762e-06/0.1911, allocations: 3.938 kB / 0.7252 GB, free: 8.078 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.1911, allocations: 3.984 kB / 0.7252 GB, free: 8.074 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1911, allocations: 0 / 0.7252 GB, free: 8.074 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002842/0.1914, allocations: 128.9 kB / 0.7253 GB, free: 7.93 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 2.367e-05/0.1914, allocations: 11.91 kB / 0.7253 GB, free: 7.918 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.985e-05/0.1914, allocations: 3.938 kB / 0.7253 GB, free: 7.914 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.991e-05/0.1915, allocations: 15.98 kB / 0.7253 GB, free: 7.898 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.846e-05/0.1915, allocations: 7.922 kB / 0.7253 GB, free: 7.891 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.095e-05/0.1916, allocations: 8 kB / 0.7254 GB, free: 7.883 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001766/0.1917, allocations: 173.8 kB / 0.7255 GB, free: 7.715 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.1917, allocations: 0 / 0.7255 GB, free: 7.715 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002178/0.1919, allocations: 20 kB / 0.7255 GB, free: 7.695 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: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * 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.0002698/0.1922, allocations: 121.6 kB / 0.7257 GB, free: 7.566 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002774/0.1925, allocations: 56 kB / 0.7257 GB, free: 7.512 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1925, allocations: 0 / 0.7257 GB, free: 7.512 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001131/0.1926, allocations: 35.91 kB / 0.7257 GB, free: 7.477 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002843/0.1929, allocations: 34.98 kB / 0.7258 GB, free: 7.441 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005682/0.1935, allocations: 292.8 kB / 0.7261 GB, free: 7.129 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001191/0.1936, allocations: 118.3 kB / 0.7262 GB, free: 6.996 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 7.368e-05/0.1937, allocations: 20.34 kB / 0.7262 GB, free: 6.977 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.991e-05/0.1937, allocations: 15.44 kB / 0.7262 GB, free: 6.961 MB / 0.545 GB Notification: Performance of SimCode: time 3.01e-07/0.1937, allocations: 0 / 0.7262 GB, free: 6.961 MB / 0.545 GB Notification: Performance of Templates: time 0.005633/0.1993, allocations: 1.898 MB / 0.7281 GB, free: 5.109 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.IO.Files.Examples.JSONWriter.makefile [Timeout 660] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.IO.Files.Examples.JSONWriter.makefile clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=BuildSysPro_BuildSysPro_IBPSA_Utilities_IO_Files_Examples_JSONWriter -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o BuildSysPro_BuildSysPro.IBPSA.Utilities.IO.Files.Examples.JSONWriter.o BuildSysPro_BuildSysPro.IBPSA.Utilities.IO.Files.Examples.JSONWriter.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=BuildSysPro_BuildSysPro_IBPSA_Utilities_IO_Files_Examples_JSONWriter -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o BuildSysPro_BuildSysPro.IBPSA.Utilities.IO.Files.Examples.JSONWriter_functions.o BuildSysPro_BuildSysPro.IBPSA.Utilities.IO.Files.Examples.JSONWriter_functions.c In file included from BuildSysPro_BuildSysPro.IBPSA.Utilities.IO.Files.Examples.JSONWriter_functions.c:7: ./BuildSysPro_BuildSysPro.IBPSA.Utilities.IO.Files.Examples.JSONWriter_includes.h:7:11: fatal error: 'jsonWriterFree.c' file not found #include ^~~~~~~~~~~~~~~~~~ 1 error generated. make: *** [: BuildSysPro_BuildSysPro.IBPSA.Utilities.IO.Files.Examples.JSONWriter_functions.o] Error 1 [Calling os._exit(0), Time elapsed: 3.917520996183157] Failed to read output from testmodel.py, exit status != 0: 0.20868023857474327 0.22398483500000002 0.035716632000000005 Calling exit ...