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.001406/0.001406, allocations: 107.4 kB / 15.23 MB, free: 0.6406 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.001651/0.001651, allocations: 195.2 kB / 16.14 MB, free: 6.691 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.391/1.391, allocations: 222.9 MB / 239.8 MB, free: 4.617 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 1.06/1.06, allocations: 143 MB / 433 MB, free: 11.59 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001269/0.001269, allocations: 63.89 kB / 0.5135 GB, free: 12.13 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1676/0.1689, allocations: 82.04 MB / 0.5936 GB, free: 10.06 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.IO.Files.Examples.JSONWriter): time 0.002844/0.1718, allocations: 1.699 MB / 0.5953 GB, free: 8.344 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008141/0.1726, allocations: 0.53 MB / 0.5958 GB, free: 7.809 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.996e-05/0.1727, allocations: 7.938 kB / 0.5958 GB, free: 7.801 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001878/0.1729, allocations: 23.91 kB / 0.5958 GB, free: 7.777 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.000211/0.1731, allocations: 54.52 kB / 0.5959 GB, free: 7.727 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000137/0.1733, allocations: 55.92 kB / 0.5959 GB, free: 7.672 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001721/0.1735, allocations: 131.5 kB / 0.596 GB, free: 7.543 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001563/0.1736, allocations: 45.47 kB / 0.5961 GB, free: 7.496 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001182/0.1737, allocations: 47.78 kB / 0.5961 GB, free: 7.449 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001206/0.1739, allocations: 63.69 kB / 0.5962 GB, free: 7.387 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.892e-05/0.1739, allocations: 8 kB / 0.5962 GB, free: 7.379 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.05e-05/0.174, allocations: 19.98 kB / 0.5962 GB, free: 7.359 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.663e-05/0.1741, allocations: 43.83 kB / 0.5963 GB, free: 7.316 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.307e-05/0.1742, allocations: 59.55 kB / 0.5963 GB, free: 7.258 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001982/0.1744, allocations: 143.7 kB / 0.5965 GB, free: 7.117 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.207e-06/0.1744, allocations: 4 kB / 0.5965 GB, free: 7.113 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.182e-06/0.1744, allocations: 0 / 0.5965 GB, free: 7.113 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.079e-06/0.1744, allocations: 0 / 0.5965 GB, free: 7.113 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.0006429/0.1751, allocations: 466.6 kB / 0.5969 GB, free: 6.609 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.593e-05/0.1751, allocations: 8.031 kB / 0.5969 GB, free: 6.602 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.297e-05/0.1752, allocations: 16.75 kB / 0.5969 GB, free: 6.586 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000254/0.1754, allocations: 232.8 kB / 0.5972 GB, free: 6.32 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.167e-05/0.1754, allocations: 16.38 kB / 0.5972 GB, free: 6.305 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.785e-05/0.1755, allocations: 4.375 kB / 0.5972 GB, free: 6.301 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002915/0.1758, allocations: 113.9 kB / 0.5973 GB, free: 6.184 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.904e-06/0.1758, allocations: 0 / 0.5973 GB, free: 6.184 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.427e-05/0.1758, allocations: 0 / 0.5973 GB, free: 6.184 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.1758, allocations: 0 / 0.5973 GB, free: 6.184 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002315/0.176, allocations: 63.94 kB / 0.5973 GB, free: 6.121 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000607/0.1767, allocations: 384.4 kB / 0.5977 GB, free: 5.695 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001363/0.1768, allocations: 46.48 kB / 0.5978 GB, free: 5.641 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001061/0.1769, allocations: 24.91 kB / 0.5978 GB, free: 5.613 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.189e-05/0.1769, allocations: 7.969 kB / 0.5978 GB, free: 5.605 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002901/0.1772, allocations: 101 kB / 0.5979 GB, free: 5.488 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.173e-06/0.1773, allocations: 3.938 kB / 0.5979 GB, free: 5.484 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0004363/0.1777, allocations: 125.3 kB / 0.598 GB, free: 5.355 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.783e-05/0.1778, allocations: 77.11 kB / 0.5981 GB, free: 5.262 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002641/0.178, allocations: 257 kB / 0.5983 GB, free: 5.004 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.161e-05/0.1781, allocations: 29.7 kB / 0.5984 GB, free: 4.969 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.591e-05/0.1782, allocations: 128 kB / 0.5985 GB, free: 4.84 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.733e-05/0.1782, allocations: 3.906 kB / 0.5985 GB, free: 4.836 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.867e-05/0.1782, allocations: 21.7 kB / 0.5985 GB, free: 4.809 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001068/0.1783, allocations: 330.8 kB / 0.5988 GB, free: 4.477 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001267/0.1785, allocations: 19.97 kB / 0.5988 GB, free: 4.457 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001186/0.1786, allocations: 51.41 kB / 0.5989 GB, free: 4.395 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002138/0.1788, allocations: 70.5 kB / 0.5989 GB, free: 4.316 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.1788, allocations: 0 / 0.5989 GB, free: 4.316 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002716/0.1791, allocations: 101.4 kB / 0.599 GB, free: 4.211 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.1791, allocations: 8.094 kB / 0.5991 GB, free: 4.203 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.1791, allocations: 0 / 0.5991 GB, free: 4.203 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.1792, allocations: 7.938 kB / 0.5991 GB, free: 4.195 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000117/0.1793, allocations: 11.98 kB / 0.5991 GB, free: 4.184 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.111e-06/0.1793, allocations: 3.984 kB / 0.5991 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.988e-05/0.1794, allocations: 15.89 kB / 0.5991 GB, free: 4.164 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.306e-06/0.1794, allocations: 0 / 0.5991 GB, free: 4.164 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.0001038/0.1795, allocations: 130.5 kB / 0.5992 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.895e-05/0.1795, allocations: 19.81 kB / 0.5992 GB, free: 4.008 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.366e-05/0.1796, allocations: 21.23 kB / 0.5993 GB, free: 3.984 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.1796, allocations: 7.938 kB / 0.5993 GB, free: 3.977 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.1796, allocations: 4 kB / 0.5993 GB, free: 3.973 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.626e-06/0.1796, allocations: 0 / 0.5993 GB, free: 3.973 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001673/0.1798, allocations: 221.5 kB / 0.5995 GB, free: 3.707 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.1798, allocations: 0 / 0.5995 GB, free: 3.707 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.294e-05/0.1799, allocations: 11.98 kB / 0.5995 GB, free: 3.695 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.1799, allocations: 0 / 0.5995 GB, free: 3.695 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.766e-06/0.1799, allocations: 0 / 0.5995 GB, free: 3.695 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.15e-06/0.1799, allocations: 7.938 kB / 0.5995 GB, free: 3.688 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.175e-06/0.1799, allocations: 4 kB / 0.5995 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002864/0.1802, allocations: 120.8 kB / 0.5996 GB, free: 3.547 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.684e-05/0.1803, allocations: 88.86 kB / 0.5997 GB, free: 3.441 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.518e-05/0.1803, allocations: 7.984 kB / 0.5997 GB, free: 3.434 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.624e-05/0.1804, allocations: 15.94 kB / 0.5997 GB, free: 3.418 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.123e-05/0.1805, allocations: 7.984 kB / 0.5997 GB, free: 3.41 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.137e-05/0.1805, allocations: 4 kB / 0.5997 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001571/0.1806, allocations: 188.5 kB / 0.5999 GB, free: 3.223 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1807, allocations: 0 / 0.5999 GB, free: 3.223 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002197/0.1809, allocations: 27.84 kB / 0.5999 GB, free: 3.195 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.0002186/0.1811, allocations: 119.3 kB / 0.6001 GB, free: 3.074 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002758/0.1814, allocations: 55.94 kB / 0.6001 GB, free: 3.02 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.1814, allocations: 0 / 0.6001 GB, free: 3.02 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001155/0.1815, allocations: 31.91 kB / 0.6001 GB, free: 2.988 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003021/0.1818, allocations: 44.53 kB / 0.6002 GB, free: 2.945 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005156/0.1824, allocations: 322.2 kB / 0.6005 GB, free: 2.598 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002796/0.1826, allocations: 0.7238 MB / 0.6012 GB, free: 1.848 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 6.604e-05/0.1827, allocations: 16.48 kB / 0.6012 GB, free: 1.832 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.668e-05/0.1828, allocations: 19.38 kB / 0.6012 GB, free: 1.812 MB / 0.4981 GB Notification: Performance of SimCode: time 2.71e-07/0.1828, allocations: 0 / 0.6012 GB, free: 1.812 MB / 0.4981 GB Notification: Performance of Templates: time 0.004556/0.1873, allocations: 1.65 MB / 0.6028 GB, free: 188 kB / 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:4: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