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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001694/0.001694, allocations: 103.7 kB / 16.45 MB, free: 6.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002114/0.002114, allocations: 186.9 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.422/1.422, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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.6.0-master/package.mo): time 0.9369/0.9369, allocations: 145.2 MB / 447.9 MB, free: 6.395 MB / 350.1 MB " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001982/0.001982, allocations: 70.78 kB / 0.6204 GB, free: 0.9023 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.186/0.188, allocations: 86.64 MB / 0.705 GB, free: 10.21 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.IO.Files.Examples.JSONWriter): time 0.003408/0.1914, allocations: 1.645 MB / 0.7066 GB, free: 8.551 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001058/0.1925, allocations: 0.5455 MB / 0.7072 GB, free: 8 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.36e-05/0.1925, allocations: 4 kB / 0.7072 GB, free: 7.996 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0002193/0.1928, allocations: 27.77 kB / 0.7072 GB, free: 7.969 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0003229/0.1931, allocations: 63.67 kB / 0.7073 GB, free: 7.906 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001837/0.1933, allocations: 67.84 kB / 0.7073 GB, free: 7.84 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002311/0.1935, allocations: 131.6 kB / 0.7074 GB, free: 7.711 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001777/0.1937, allocations: 37.48 kB / 0.7075 GB, free: 7.672 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001414/0.1938, allocations: 59.7 kB / 0.7075 GB, free: 7.613 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001377/0.194, allocations: 63.7 kB / 0.7076 GB, free: 7.551 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.416e-05/0.194, allocations: 11.98 kB / 0.7076 GB, free: 7.539 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 7.685e-05/0.1941, allocations: 31.92 kB / 0.7076 GB, free: 7.508 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001152/0.1942, allocations: 43.78 kB / 0.7077 GB, free: 7.465 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 8.685e-05/0.1943, allocations: 59.59 kB / 0.7077 GB, free: 7.406 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002706/0.1945, allocations: 155.2 kB / 0.7079 GB, free: 7.254 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.1946, allocations: 0 / 0.7079 GB, free: 7.254 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.372e-06/0.1946, allocations: 0 / 0.7079 GB, free: 7.254 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.985e-06/0.1946, allocations: 0 / 0.7079 GB, free: 7.254 MB / 0.5294 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.0008271/0.1954, allocations: 482.4 kB / 0.7083 GB, free: 6.734 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/0.1954, allocations: 8.031 kB / 0.7084 GB, free: 6.727 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.841e-05/0.1955, allocations: 16.84 kB / 0.7084 GB, free: 6.711 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004006/0.1959, allocations: 233 kB / 0.7086 GB, free: 6.441 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.61e-05/0.1959, allocations: 8.375 kB / 0.7086 GB, free: 6.434 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.116e-05/0.1959, allocations: 8.312 kB / 0.7086 GB, free: 6.426 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000336/0.1963, allocations: 112.8 kB / 0.7087 GB, free: 6.312 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.1963, allocations: 4 kB / 0.7087 GB, free: 6.309 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.794e-05/0.1963, allocations: 4 kB / 0.7087 GB, free: 6.305 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.131e-06/0.1963, allocations: 0 / 0.7087 GB, free: 6.305 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002477/0.1965, allocations: 63.94 kB / 0.7088 GB, free: 6.242 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006909/0.1972, allocations: 396.5 kB / 0.7092 GB, free: 5.805 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00015/0.1974, allocations: 34.56 kB / 0.7092 GB, free: 5.762 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001129/0.1975, allocations: 28.89 kB / 0.7092 GB, free: 5.73 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.402e-05/0.1975, allocations: 0 / 0.7092 GB, free: 5.73 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002557/0.1978, allocations: 109 kB / 0.7093 GB, free: 5.605 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 9.61e-07/0.1978, allocations: 0 / 0.7093 GB, free: 5.605 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0005083/0.1983, allocations: 125.4 kB / 0.7094 GB, free: 5.477 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.846e-05/0.1984, allocations: 77.11 kB / 0.7095 GB, free: 5.383 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000302/0.1987, allocations: 257 kB / 0.7098 GB, free: 5.121 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.1e-05/0.1987, allocations: 25.7 kB / 0.7098 GB, free: 5.09 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001009/0.1988, allocations: 128.1 kB / 0.7099 GB, free: 4.961 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.339e-05/0.1988, allocations: 11.89 kB / 0.7099 GB, free: 4.949 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.357e-05/0.1988, allocations: 17.72 kB / 0.7099 GB, free: 4.926 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000182/0.199, allocations: 330.8 kB / 0.7103 GB, free: 4.594 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001084/0.1991, allocations: 15.98 kB / 0.7103 GB, free: 4.578 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001318/0.1993, allocations: 55.34 kB / 0.7103 GB, free: 4.512 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002336/0.1995, allocations: 74.55 kB / 0.7104 GB, free: 4.43 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.1995, allocations: 0 / 0.7104 GB, free: 4.43 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002991/0.1998, allocations: 105.5 kB / 0.7105 GB, free: 4.32 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.17e-05/0.1998, allocations: 6.5 kB / 0.7105 GB, free: 4.316 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.842e-06/0.1998, allocations: 0 / 0.7105 GB, free: 4.316 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.969e-05/0.1999, allocations: 3.938 kB / 0.7105 GB, free: 4.312 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001242/0.2, allocations: 20.02 kB / 0.7105 GB, free: 4.293 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.261e-05/0.2, allocations: 4 kB / 0.7105 GB, free: 4.289 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.777e-05/0.2001, allocations: 15.88 kB / 0.7105 GB, free: 4.273 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.131e-05/0.2001, allocations: 4 kB / 0.7105 GB, free: 4.27 MB / 0.5294 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.0001304/0.2002, allocations: 125.8 kB / 0.7107 GB, free: 4.137 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.006e-05/0.2002, allocations: 15.91 kB / 0.7107 GB, free: 4.121 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.433e-05/0.2003, allocations: 25.17 kB / 0.7107 GB, free: 4.094 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/0.2003, allocations: 3.938 kB / 0.7107 GB, free: 4.09 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.2003, allocations: 0 / 0.7107 GB, free: 4.09 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.2003, allocations: 4 kB / 0.7107 GB, free: 4.086 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002179/0.2005, allocations: 217.6 kB / 0.7109 GB, free: 3.824 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.2005, allocations: 0 / 0.7109 GB, free: 3.824 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.809e-05/0.2006, allocations: 11.98 kB / 0.7109 GB, free: 3.812 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.502e-06/0.2006, allocations: 0 / 0.7109 GB, free: 3.812 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.466e-06/0.2006, allocations: 0 / 0.7109 GB, free: 3.812 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.2006, allocations: 3.938 kB / 0.7109 GB, free: 3.809 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.2006, allocations: 3.984 kB / 0.7109 GB, free: 3.805 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003141/0.2009, allocations: 128.9 kB / 0.7111 GB, free: 3.66 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 6.73e-05/0.201, allocations: 89.02 kB / 0.7112 GB, free: 3.555 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.137e-05/0.201, allocations: 0 / 0.7112 GB, free: 3.555 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.497e-05/0.2011, allocations: 15.92 kB / 0.7112 GB, free: 3.539 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.746e-05/0.2012, allocations: 7.984 kB / 0.7112 GB, free: 3.531 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.367e-05/0.2012, allocations: 4 kB / 0.7112 GB, free: 3.527 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0002076/0.2014, allocations: 192.5 kB / 0.7114 GB, free: 3.34 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.2014, allocations: 0 / 0.7114 GB, free: 3.34 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.00023/0.2016, allocations: 27.94 kB / 0.7114 GB, free: 3.312 MB / 0.5294 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.0002748/0.2019, allocations: 117.2 kB / 0.7115 GB, free: 3.191 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0003048/0.2022, allocations: 63.88 kB / 0.7116 GB, free: 3.129 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.2022, allocations: 0 / 0.7116 GB, free: 3.129 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001172/0.2023, allocations: 27.97 kB / 0.7116 GB, free: 3.102 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003028/0.2026, allocations: 48.38 kB / 0.7116 GB, free: 3.062 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005939/0.2032, allocations: 284 kB / 0.7119 GB, free: 2.758 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003762/0.2036, allocations: 0.7275 MB / 0.7126 GB, free: 2.004 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 6.49e-05/0.2037, allocations: 12.55 kB / 0.7126 GB, free: 1.992 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.66e-05/0.2037, allocations: 19.42 kB / 0.7126 GB, free: 1.973 MB / 0.5294 GB Notification: Performance of SimCode: time 2.91e-07/0.2037, allocations: 3.938 kB / 0.7126 GB, free: 1.969 MB / 0.5294 GB Notification: Performance of Templates: time 0.005463/0.2092, allocations: 1.807 MB / 0.7144 GB, free: 184 kB / 0.5294 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: 4.075187797658145]