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) 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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.IO.Files.Examples.JSONWriter") translateModel(BuildSysPro.IBPSA.Utilities.IO.Files.Examples.JSONWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.IO.Files.Examples.JSONWriter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001556/0.001556, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001703/0.001703, allocations: 193.8 kB / 16.26 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.307/1.307, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.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.6.0/package.mo): time 0.9503/0.9503, allocations: 143 MB / 433.1 MB, free: 11.61 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.00126, allocations: 59.91 kB / 0.5137 GB, free: 12.01 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1659/0.1672, allocations: 82.05 MB / 0.5938 GB, free: 9.949 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.IO.Files.Examples.JSONWriter): time 0.002948/0.1702, allocations: 1.692 MB / 0.5954 GB, free: 8.238 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008596/0.1711, allocations: 0.5339 MB / 0.596 GB, free: 7.699 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.953e-05/0.1711, allocations: 0 / 0.596 GB, free: 7.699 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001904/0.1713, allocations: 35.84 kB / 0.596 GB, free: 7.664 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002287/0.1716, allocations: 51.77 kB / 0.596 GB, free: 7.613 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001509/0.1717, allocations: 55.92 kB / 0.5961 GB, free: 7.559 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001654/0.1719, allocations: 131.5 kB / 0.5962 GB, free: 7.43 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001467/0.1721, allocations: 45.48 kB / 0.5963 GB, free: 7.383 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001186/0.1722, allocations: 55.7 kB / 0.5963 GB, free: 7.328 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001002/0.1723, allocations: 63.7 kB / 0.5964 GB, free: 7.266 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.199e-05/0.1723, allocations: 8 kB / 0.5964 GB, free: 7.258 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 5.279e-05/0.1724, allocations: 23.98 kB / 0.5964 GB, free: 7.234 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.084e-05/0.1725, allocations: 51.83 kB / 0.5965 GB, free: 7.184 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 6.993e-05/0.1726, allocations: 55.61 kB / 0.5965 GB, free: 7.129 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001804/0.1728, allocations: 147.6 kB / 0.5967 GB, free: 6.984 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.1728, allocations: 4 kB / 0.5967 GB, free: 6.98 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.253e-06/0.1728, allocations: 4 kB / 0.5967 GB, free: 6.977 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.24e-06/0.1728, allocations: 0 / 0.5967 GB, free: 6.977 MB / 0.4981 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.0006148/0.1734, allocations: 462.6 kB / 0.5971 GB, free: 6.477 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.409e-05/0.1734, allocations: 8.031 kB / 0.5971 GB, free: 6.469 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.559e-05/0.1735, allocations: 16.75 kB / 0.5971 GB, free: 6.453 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002536/0.1738, allocations: 236.8 kB / 0.5974 GB, free: 6.184 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.33e-05/0.1738, allocations: 8.375 kB / 0.5974 GB, free: 6.176 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.578e-05/0.1738, allocations: 8.375 kB / 0.5974 GB, free: 6.168 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002837/0.1741, allocations: 115.9 kB / 0.5975 GB, free: 6.051 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.1741, allocations: 0 / 0.5975 GB, free: 6.051 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.79e-05/0.1741, allocations: 7.984 kB / 0.5975 GB, free: 6.043 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.898e-06/0.1741, allocations: 0 / 0.5975 GB, free: 6.043 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002251/0.1744, allocations: 63.88 kB / 0.5975 GB, free: 5.98 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005806/0.175, allocations: 388.4 kB / 0.5979 GB, free: 5.551 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001441/0.1751, allocations: 46.48 kB / 0.598 GB, free: 5.496 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001063/0.1752, allocations: 28.89 kB / 0.598 GB, free: 5.465 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.932e-05/0.1753, allocations: 4 kB / 0.598 GB, free: 5.461 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002525/0.1755, allocations: 97.08 kB / 0.5981 GB, free: 5.348 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.1755, allocations: 0 / 0.5981 GB, free: 5.348 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0004275/0.176, allocations: 125.4 kB / 0.5982 GB, free: 5.219 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.093e-05/0.176, allocations: 85.05 kB / 0.5983 GB, free: 5.117 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002429/0.1763, allocations: 249 kB / 0.5985 GB, free: 4.867 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.128e-05/0.1763, allocations: 29.7 kB / 0.5986 GB, free: 4.832 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.1e-05/0.1764, allocations: 132 kB / 0.5987 GB, free: 4.699 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.611e-05/0.1764, allocations: 3.906 kB / 0.5987 GB, free: 4.695 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.93e-05/0.1764, allocations: 17.7 kB / 0.5987 GB, free: 4.672 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001124/0.1766, allocations: 330.8 kB / 0.599 GB, free: 4.34 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001171/0.1767, allocations: 27.97 kB / 0.599 GB, free: 4.312 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001173/0.1768, allocations: 47.41 kB / 0.5991 GB, free: 4.254 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002163/0.177, allocations: 74.5 kB / 0.5992 GB, free: 4.172 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.1771, allocations: 0 / 0.5992 GB, free: 4.172 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000286/0.1773, allocations: 101.4 kB / 0.5993 GB, free: 4.066 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.1774, allocations: 6.031 kB / 0.5993 GB, free: 4.062 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.1774, allocations: 0 / 0.5993 GB, free: 4.062 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.13e-05/0.1774, allocations: 12.03 kB / 0.5993 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001048/0.1775, allocations: 11.98 kB / 0.5993 GB, free: 4.039 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.1775, allocations: 0 / 0.5993 GB, free: 4.039 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.111e-05/0.1776, allocations: 15.89 kB / 0.5993 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.213e-06/0.1776, allocations: 0 / 0.5993 GB, free: 4.023 MB / 0.4981 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.000104/0.1777, allocations: 130.5 kB / 0.5994 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.905e-05/0.1778, allocations: 15.81 kB / 0.5994 GB, free: 3.871 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.046e-05/0.1778, allocations: 17.23 kB / 0.5995 GB, free: 3.852 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.1778, allocations: 11.94 kB / 0.5995 GB, free: 3.84 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.626e-06/0.1778, allocations: 0 / 0.5995 GB, free: 3.84 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.355e-06/0.1778, allocations: 0 / 0.5995 GB, free: 3.84 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001616/0.178, allocations: 213.6 kB / 0.5997 GB, free: 3.582 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.178, allocations: 0 / 0.5997 GB, free: 3.582 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.634e-05/0.1781, allocations: 15.92 kB / 0.5997 GB, free: 3.566 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.1781, allocations: 288 / 0.5997 GB, free: 3.566 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.266e-06/0.1781, allocations: 0 / 0.5997 GB, free: 3.566 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.848e-06/0.1781, allocations: 11.92 kB / 0.5997 GB, free: 3.555 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.1781, allocations: 0 / 0.5997 GB, free: 3.555 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002803/0.1784, allocations: 128.9 kB / 0.5998 GB, free: 3.41 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.225e-05/0.1785, allocations: 92.86 kB / 0.5999 GB, free: 3.301 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.399e-05/0.1785, allocations: 7.922 kB / 0.5999 GB, free: 3.293 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.68e-05/0.1786, allocations: 11.92 kB / 0.5999 GB, free: 3.281 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.78e-05/0.1787, allocations: 4 kB / 0.5999 GB, free: 3.277 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.394e-05/0.1787, allocations: 16 kB / 0.5999 GB, free: 3.262 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001635/0.1789, allocations: 188.5 kB / 0.6001 GB, free: 3.078 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1789, allocations: 0 / 0.6001 GB, free: 3.078 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002231/0.1791, allocations: 19.91 kB / 0.6001 GB, free: 3.059 MB / 0.4981 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.0002189/0.1793, allocations: 125.3 kB / 0.6003 GB, free: 2.93 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002896/0.1796, allocations: 56.06 kB / 0.6003 GB, free: 2.875 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.022e-06/0.1796, allocations: 3.984 kB / 0.6003 GB, free: 2.871 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001132/0.1798, allocations: 31.97 kB / 0.6004 GB, free: 2.84 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002894/0.18, allocations: 44.58 kB / 0.6004 GB, free: 2.801 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005693/0.1806, allocations: 328.5 kB / 0.6007 GB, free: 2.449 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003252/0.181, allocations: 0.7158 MB / 0.6014 GB, free: 1.707 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 6.638e-05/0.181, allocations: 16.48 kB / 0.6014 GB, free: 1.691 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.898e-05/0.1811, allocations: 19.44 kB / 0.6014 GB, free: 1.672 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.1811, allocations: 0 / 0.6014 GB, free: 1.672 MB / 0.4981 GB Notification: Performance of Templates: time 0.004746/0.1858, allocations: 1.693 MB / 0.6031 GB, free: 0 / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.IO.Files.Examples.JSONWriter.makefile make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.IO.Files.Examples.JSONWriter.makefile clang -Os -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 -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