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.001012/0.001013, allocations: 97.72 kB / 15.36 MB, free: 0.7344 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.007314/0.007315, allocations: 172.7 kB / 16.27 MB, free: 6.648 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.377/1.377, allocations: 223.3 MB / 240.3 MB, free: 5.242 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.038/1.038, allocations: 143.2 MB / 434.6 MB, free: 13.6 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003046/0.0003046, allocations: 12 kB / 0.5164 GB, free: 11.11 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1689/0.1692, allocations: 83.41 MB / 0.5978 GB, free: 7.668 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.IO.Files.Examples.JSONWriter): time 0.002287/0.1715, allocations: 1.353 MB / 0.5992 GB, free: 6.301 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008806/0.1724, allocations: 0.5262 MB / 0.5997 GB, free: 5.77 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.453e-05/0.1725, allocations: 0 / 0.5997 GB, free: 5.77 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002044/0.1728, allocations: 27.86 kB / 0.5997 GB, free: 5.742 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.000262/0.173, allocations: 51.75 kB / 0.5998 GB, free: 5.691 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001545/0.1732, allocations: 59.92 kB / 0.5998 GB, free: 5.633 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001929/0.1734, allocations: 123.6 kB / 0.5999 GB, free: 5.512 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001952/0.1736, allocations: 45.47 kB / 0.6 GB, free: 5.465 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001206/0.1737, allocations: 47.77 kB / 0.6 GB, free: 5.418 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001121/0.1738, allocations: 51.64 kB / 0.6001 GB, free: 5.367 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.409e-05/0.1739, allocations: 4 kB / 0.6001 GB, free: 5.363 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.078e-05/0.174, allocations: 19.98 kB / 0.6001 GB, free: 5.344 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.794e-05/0.174, allocations: 35.84 kB / 0.6001 GB, free: 5.309 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 6.694e-05/0.1741, allocations: 85.23 kB / 0.6002 GB, free: 5.219 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001858/0.1743, allocations: 135.7 kB / 0.6003 GB, free: 5.086 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.1743, allocations: 4 kB / 0.6003 GB, free: 5.082 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.803e-06/0.1743, allocations: 4 kB / 0.6003 GB, free: 5.078 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.97e-06/0.1743, allocations: 0 / 0.6003 GB, free: 5.078 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.0005936/0.1749, allocations: 450.8 kB / 0.6008 GB, free: 4.59 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/0.175, allocations: 8.031 kB / 0.6008 GB, free: 4.582 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.018e-05/0.175, allocations: 20.66 kB / 0.6008 GB, free: 4.562 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002493/0.1753, allocations: 229 kB / 0.601 GB, free: 4.297 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.346e-05/0.1753, allocations: 4.375 kB / 0.601 GB, free: 4.293 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.556e-05/0.1753, allocations: 4.375 kB / 0.601 GB, free: 4.289 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003021/0.1757, allocations: 125.9 kB / 0.6011 GB, free: 4.16 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.1757, allocations: 4 kB / 0.6012 GB, free: 4.156 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.794e-05/0.1757, allocations: 0 / 0.6012 GB, free: 4.156 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.1757, allocations: 8 kB / 0.6012 GB, free: 4.148 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002589/0.176, allocations: 75.94 kB / 0.6012 GB, free: 4.074 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005882/0.1766, allocations: 400.4 kB / 0.6016 GB, free: 3.633 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001427/0.1767, allocations: 46.56 kB / 0.6017 GB, free: 3.578 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001153/0.1768, allocations: 32.89 kB / 0.6017 GB, free: 3.543 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.622e-05/0.1769, allocations: 4 kB / 0.6017 GB, free: 3.539 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002848/0.1772, allocations: 109 kB / 0.6018 GB, free: 3.414 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.1772, allocations: 0 / 0.6018 GB, free: 3.414 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0004763/0.1776, allocations: 145.4 kB / 0.6019 GB, free: 3.266 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.023e-05/0.1777, allocations: 77.11 kB / 0.602 GB, free: 3.172 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002446/0.178, allocations: 256.9 kB / 0.6023 GB, free: 2.914 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.735e-05/0.178, allocations: 25.7 kB / 0.6023 GB, free: 2.883 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.69e-05/0.1781, allocations: 132 kB / 0.6024 GB, free: 2.75 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.003e-05/0.1781, allocations: 7.812 kB / 0.6024 GB, free: 2.742 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.914e-05/0.1781, allocations: 17.72 kB / 0.6024 GB, free: 2.719 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001143/0.1783, allocations: 330.8 kB / 0.6027 GB, free: 2.387 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001193/0.1784, allocations: 27.98 kB / 0.6028 GB, free: 2.359 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001322/0.1785, allocations: 59.34 kB / 0.6028 GB, free: 2.289 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002452/0.1788, allocations: 86.55 kB / 0.6029 GB, free: 2.195 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/0.1788, allocations: 0 / 0.6029 GB, free: 2.195 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000306/0.1791, allocations: 121.4 kB / 0.603 GB, free: 2.07 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/0.1791, allocations: 4 kB / 0.603 GB, free: 2.066 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-06/0.1791, allocations: 0 / 0.603 GB, free: 2.066 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.927e-05/0.1792, allocations: 8.219 kB / 0.603 GB, free: 2.059 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001187/0.1793, allocations: 20.02 kB / 0.6031 GB, free: 2.039 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.1793, allocations: 4 kB / 0.6031 GB, free: 2.035 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.057e-05/0.1794, allocations: 11.98 kB / 0.6031 GB, free: 2.023 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.038e-05/0.1794, allocations: 4 kB / 0.6031 GB, free: 2.02 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.0001051/0.1795, allocations: 134.4 kB / 0.6032 GB, free: 1.879 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.255e-05/0.1796, allocations: 19.81 kB / 0.6032 GB, free: 1.859 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.547e-05/0.1796, allocations: 17.23 kB / 0.6032 GB, free: 1.84 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.1796, allocations: 7.938 kB / 0.6032 GB, free: 1.832 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.1796, allocations: 0 / 0.6032 GB, free: 1.832 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.1796, allocations: 0 / 0.6032 GB, free: 1.832 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001754/0.1798, allocations: 213.6 kB / 0.6035 GB, free: 1.574 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.1798, allocations: 0 / 0.6035 GB, free: 1.574 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.776e-05/0.1799, allocations: 15.98 kB / 0.6035 GB, free: 1.559 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.1799, allocations: 0 / 0.6035 GB, free: 1.559 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.848e-06/0.18, allocations: 4 kB / 0.6035 GB, free: 1.555 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.945e-06/0.18, allocations: 3.938 kB / 0.6035 GB, free: 1.551 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.18, allocations: 4 kB / 0.6035 GB, free: 1.547 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003123/0.1803, allocations: 144.7 kB / 0.6036 GB, free: 1.387 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.176e-05/0.1804, allocations: 100.9 kB / 0.6037 GB, free: 1.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.283e-05/0.1804, allocations: 0 / 0.6037 GB, free: 1.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.127e-05/0.1805, allocations: 15.92 kB / 0.6037 GB, free: 1.254 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.647e-05/0.1805, allocations: 7.984 kB / 0.6037 GB, free: 1.246 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.392e-05/0.1806, allocations: 4 kB / 0.6037 GB, free: 1.242 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001661/0.1807, allocations: 192.5 kB / 0.6039 GB, free: 1.055 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1807, allocations: 0 / 0.6039 GB, free: 1.055 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002209/0.181, allocations: 20 kB / 0.6039 GB, free: 1.035 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.0002343/0.1812, allocations: 123.6 kB / 0.6041 GB, free: 0.9102 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003106/0.1815, allocations: 79.88 kB / 0.6041 GB, free: 0.832 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.1815, allocations: 3.938 kB / 0.6041 GB, free: 0.8281 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001227/0.1817, allocations: 32.17 kB / 0.6042 GB, free: 0.7969 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003101/0.182, allocations: 42.5 kB / 0.6042 GB, free: 0.7578 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005494/0.1826, allocations: 326.4 kB / 0.6045 GB, free: 412 kB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3107/0.4933, allocations: 0.7239 MB / 0.6052 GB, free: 40.37 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001251/0.4935, allocations: 16.22 kB / 0.6052 GB, free: 40.37 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.109e-05/0.4936, allocations: 17.16 kB / 0.6053 GB, free: 40.36 MB / 0.4981 GB Notification: Performance of SimCode: time 2.264e-06/0.4936, allocations: 0 / 0.6053 GB, free: 40.36 MB / 0.4981 GB Notification: Performance of Templates: time 0.004793/0.4984, allocations: 1.636 MB / 0.6069 GB, free: 40.3 MB / 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