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.0053/0.0053, allocations: 103.6 kB / 15.74 MB, free: 6.035 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.001184/0.001185, allocations: 196.5 kB / 16.68 MB, free: 5.953 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.306/1.306, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.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.8634/0.8634, allocations: 143.1 MB / 433.6 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001132/0.001132, allocations: 56.16 kB / 0.5955 GB, free: 12.33 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1696/0.1707, allocations: 82.04 MB / 0.6756 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.IO.Files.Examples.JSONWriter): time 0.003183/0.174, allocations: 1.644 MB / 0.6772 GB, free: 8.723 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0009539/0.175, allocations: 0.5416 MB / 0.6777 GB, free: 8.176 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.729e-05/0.1751, allocations: 3.938 kB / 0.6777 GB, free: 8.172 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0002063/0.1753, allocations: 27.8 kB / 0.6778 GB, free: 8.145 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0003011/0.1756, allocations: 70.92 kB / 0.6778 GB, free: 8.078 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001707/0.1758, allocations: 63.91 kB / 0.6779 GB, free: 8.016 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0002829/0.1761, allocations: 135.5 kB / 0.678 GB, free: 7.883 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000172/0.1762, allocations: 49.47 kB / 0.6781 GB, free: 7.832 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001359/0.1764, allocations: 51.78 kB / 0.6781 GB, free: 7.781 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001387/0.1765, allocations: 67.62 kB / 0.6782 GB, free: 7.715 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 3.315e-05/0.1766, allocations: 8 kB / 0.6782 GB, free: 7.707 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 6.833e-05/0.1766, allocations: 23.98 kB / 0.6782 GB, free: 7.684 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 9.913e-05/0.1768, allocations: 43.89 kB / 0.6783 GB, free: 7.641 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 8.074e-05/0.1768, allocations: 59.55 kB / 0.6783 GB, free: 7.582 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003107/0.1772, allocations: 159.4 kB / 0.6785 GB, free: 7.426 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.1772, allocations: 0 / 0.6785 GB, free: 7.426 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.593e-06/0.1772, allocations: 0 / 0.6785 GB, free: 7.426 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.104e-05/0.1772, allocations: 4 kB / 0.6785 GB, free: 7.422 MB / 0.5137 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.0007061/0.1779, allocations: 466.6 kB / 0.6789 GB, free: 6.918 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.452e-05/0.178, allocations: 8.031 kB / 0.6789 GB, free: 6.91 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.699e-05/0.178, allocations: 16.75 kB / 0.6789 GB, free: 6.895 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003256/0.1783, allocations: 240.8 kB / 0.6792 GB, free: 6.617 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.552e-05/0.1784, allocations: 12.38 kB / 0.6792 GB, free: 6.605 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.558e-05/0.1784, allocations: 4.375 kB / 0.6792 GB, free: 6.602 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002825/0.1787, allocations: 102 kB / 0.6793 GB, free: 6.496 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.1787, allocations: 4 kB / 0.6793 GB, free: 6.492 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.783e-05/0.1787, allocations: 7.984 kB / 0.6793 GB, free: 6.484 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.1787, allocations: 3.938 kB / 0.6793 GB, free: 6.48 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002063/0.1789, allocations: 59.94 kB / 0.6794 GB, free: 6.422 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005826/0.1795, allocations: 392.4 kB / 0.6797 GB, free: 5.988 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001296/0.1797, allocations: 38.5 kB / 0.6798 GB, free: 5.941 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001032/0.1798, allocations: 28.89 kB / 0.6798 GB, free: 5.91 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.809e-05/0.1798, allocations: 4 kB / 0.6798 GB, free: 5.906 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00022/0.18, allocations: 97.08 kB / 0.6799 GB, free: 5.793 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.18, allocations: 0 / 0.6799 GB, free: 5.793 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3): time 0.0004365/0.1805, allocations: 129.3 kB / 0.68 GB, free: 5.66 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.26e-05/0.1806, allocations: 77.11 kB / 0.6801 GB, free: 5.566 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002798/0.1809, allocations: 253 kB / 0.6803 GB, free: 5.309 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.027e-05/0.1809, allocations: 25.7 kB / 0.6804 GB, free: 5.277 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001045/0.181, allocations: 132 kB / 0.6805 GB, free: 5.145 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.154e-05/0.181, allocations: 11.84 kB / 0.6805 GB, free: 5.133 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.249e-05/0.1811, allocations: 17.72 kB / 0.6805 GB, free: 5.109 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001547/0.1812, allocations: 330.8 kB / 0.6808 GB, free: 4.777 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001019/0.1813, allocations: 23.97 kB / 0.6809 GB, free: 4.754 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001213/0.1815, allocations: 47.41 kB / 0.6809 GB, free: 4.695 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001958/0.1817, allocations: 70.5 kB / 0.681 GB, free: 4.617 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.175e-06/0.1817, allocations: 0 / 0.681 GB, free: 4.617 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002524/0.1819, allocations: 105.4 kB / 0.6811 GB, free: 4.508 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.97e-05/0.182, allocations: 4 kB / 0.6811 GB, free: 4.504 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.441e-06/0.182, allocations: 0 / 0.6811 GB, free: 4.504 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/0.182, allocations: 8.031 kB / 0.6811 GB, free: 4.496 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001104/0.1821, allocations: 11.98 kB / 0.6811 GB, free: 4.484 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.1821, allocations: 4 kB / 0.6811 GB, free: 4.48 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.138e-05/0.1822, allocations: 11.98 kB / 0.6811 GB, free: 4.469 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.698e-06/0.1823, allocations: 0 / 0.6811 GB, free: 4.469 MB / 0.5137 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.0001179/0.1824, allocations: 133.8 kB / 0.6812 GB, free: 4.328 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.056e-05/0.1824, allocations: 19.72 kB / 0.6812 GB, free: 4.309 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.743e-05/0.1825, allocations: 17.23 kB / 0.6813 GB, free: 4.289 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.1825, allocations: 7.938 kB / 0.6813 GB, free: 4.281 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.1825, allocations: 0 / 0.6813 GB, free: 4.281 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.1825, allocations: 0 / 0.6813 GB, free: 4.281 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000177/0.1827, allocations: 213.6 kB / 0.6815 GB, free: 4.023 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.1827, allocations: 0 / 0.6815 GB, free: 4.023 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.564e-05/0.1828, allocations: 19.92 kB / 0.6815 GB, free: 4.004 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.532e-06/0.1828, allocations: 0 / 0.6815 GB, free: 4.004 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.007e-05/0.1828, allocations: 3.984 kB / 0.6815 GB, free: 4 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.967e-06/0.1828, allocations: 7.938 kB / 0.6815 GB, free: 3.992 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1828, allocations: 0 / 0.6815 GB, free: 3.992 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002615/0.1831, allocations: 125.2 kB / 0.6816 GB, free: 3.852 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.051e-05/0.1831, allocations: 92.86 kB / 0.6817 GB, free: 3.742 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.004e-05/0.1832, allocations: 0 / 0.6817 GB, free: 3.742 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.468e-05/0.1832, allocations: 15.92 kB / 0.6817 GB, free: 3.727 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.877e-05/0.1833, allocations: 7.984 kB / 0.6817 GB, free: 3.719 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.273e-05/0.1833, allocations: 12 kB / 0.6817 GB, free: 3.707 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.000172/0.1835, allocations: 184.5 kB / 0.6819 GB, free: 3.527 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.174e-06/0.1835, allocations: 4 kB / 0.6819 GB, free: 3.523 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000213/0.1837, allocations: 24.06 kB / 0.682 GB, free: 3.5 MB / 0.5137 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.0002403/0.184, allocations: 129.2 kB / 0.6821 GB, free: 3.367 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003175/0.1843, allocations: 51.95 kB / 0.6821 GB, free: 3.316 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.1843, allocations: 0 / 0.6821 GB, free: 3.316 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001051/0.1844, allocations: 27.97 kB / 0.6822 GB, free: 3.289 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002953/0.1847, allocations: 55.98 kB / 0.6822 GB, free: 3.242 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005029/0.1852, allocations: 284.2 kB / 0.6825 GB, free: 2.938 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003727/0.1856, allocations: 0.7196 MB / 0.6832 GB, free: 2.191 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 5.778e-05/0.1857, allocations: 16.53 kB / 0.6832 GB, free: 2.176 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.66e-05/0.1857, allocations: 15.44 kB / 0.6832 GB, free: 2.16 MB / 0.5137 GB Notification: Performance of SimCode: time 1.8e-07/0.1857, allocations: 0 / 0.6832 GB, free: 2.16 MB / 0.5137 GB Notification: Performance of Templates: time 0.005044/0.1908, allocations: 1.811 MB / 0.685 GB, free: 376 kB / 0.5137 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 -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