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: "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.IO.Files.Examples.JSONWriter,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_IO_Files_Examples_JSONWriter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.IO.Files.Examples.JSONWriter,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_IO_Files_Examples_JSONWriter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008371/0.0008372, allocations: 98.27 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.005531/0.005531, allocations: 169.9 kB / 16.27 MB, free: 6.652 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.347/1.347, allocations: 223.3 MB / 240.3 MB, free: 5.324 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.051/1.051, allocations: 143.2 MB / 434.6 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003252/0.0003252, allocations: 8 kB / 0.5165 GB, free: 11.06 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1672/0.1675, allocations: 83.42 MB / 0.598 GB, free: 7.602 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.IO.Files.Examples.JSONWriter): time 0.001834/0.1694, allocations: 1.35 MB / 0.5993 GB, free: 6.238 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.000791/0.1702, allocations: 0.5262 MB / 0.5998 GB, free: 5.707 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.663e-05/0.1703, allocations: 4 kB / 0.5998 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001514/0.1705, allocations: 19.86 kB / 0.5998 GB, free: 5.684 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002089/0.1707, allocations: 66.17 kB / 0.5999 GB, free: 5.621 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001336/0.1708, allocations: 55.94 kB / 0.5999 GB, free: 5.566 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001784/0.171, allocations: 127.5 kB / 0.6001 GB, free: 5.441 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001368/0.1711, allocations: 45.47 kB / 0.6001 GB, free: 5.395 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.952e-05/0.1713, allocations: 35.8 kB / 0.6001 GB, free: 5.359 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001095/0.1714, allocations: 63.62 kB / 0.6002 GB, free: 5.297 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.813e-05/0.1714, allocations: 0 / 0.6002 GB, free: 5.297 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 4.84e-05/0.1715, allocations: 16 kB / 0.6002 GB, free: 5.281 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.45e-05/0.1715, allocations: 39.83 kB / 0.6003 GB, free: 5.242 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 6.408e-05/0.1716, allocations: 73.31 kB / 0.6003 GB, free: 5.164 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001814/0.1718, allocations: 147.7 kB / 0.6005 GB, free: 5.02 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.1718, allocations: 0 / 0.6005 GB, free: 5.02 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.373e-06/0.1718, allocations: 0 / 0.6005 GB, free: 5.02 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.108e-06/0.1718, allocations: 0 / 0.6005 GB, free: 5.02 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.0005412/0.1724, allocations: 458.6 kB / 0.6009 GB, free: 4.523 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.422e-05/0.1724, allocations: 12.03 kB / 0.6009 GB, free: 4.512 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.427e-05/0.1725, allocations: 38.75 kB / 0.601 GB, free: 4.465 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.77e-05/0.1725, allocations: 16.75 kB / 0.601 GB, free: 4.449 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002416/0.1728, allocations: 232.9 kB / 0.6012 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.818e-06/0.1728, allocations: 4.375 kB / 0.6012 GB, free: 4.176 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.378e-05/0.1728, allocations: 8.312 kB / 0.6012 GB, free: 4.168 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002748/0.1731, allocations: 117.8 kB / 0.6013 GB, free: 4.047 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.164e-06/0.1731, allocations: 7.984 kB / 0.6013 GB, free: 4.039 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.404e-05/0.1731, allocations: 4 kB / 0.6013 GB, free: 4.035 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.1731, allocations: 0 / 0.6013 GB, free: 4.035 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002351/0.1734, allocations: 75.94 kB / 0.6014 GB, free: 3.961 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005559/0.1739, allocations: 388.5 kB / 0.6018 GB, free: 3.531 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001408/0.1741, allocations: 50.55 kB / 0.6018 GB, free: 3.473 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001214/0.1742, allocations: 36.89 kB / 0.6019 GB, free: 3.434 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.264e-05/0.1742, allocations: 0 / 0.6019 GB, free: 3.434 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002504/0.1745, allocations: 109 kB / 0.602 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.1745, allocations: 0 / 0.602 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0004365/0.1749, allocations: 149.3 kB / 0.6021 GB, free: 3.156 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.356e-05/0.175, allocations: 77.11 kB / 0.6022 GB, free: 3.062 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002356/0.1752, allocations: 257 kB / 0.6024 GB, free: 2.805 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.741e-05/0.1752, allocations: 25.7 kB / 0.6024 GB, free: 2.773 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.256e-05/0.1753, allocations: 136 kB / 0.6026 GB, free: 2.637 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.02e-05/0.1754, allocations: 7.906 kB / 0.6026 GB, free: 2.629 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.379e-05/0.1754, allocations: 13.66 kB / 0.6026 GB, free: 2.609 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001113/0.1755, allocations: 326.8 kB / 0.6029 GB, free: 2.281 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001246/0.1756, allocations: 39.91 kB / 0.6029 GB, free: 2.242 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001233/0.1758, allocations: 55.41 kB / 0.603 GB, free: 2.176 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002219/0.176, allocations: 78.56 kB / 0.6031 GB, free: 2.09 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.176, allocations: 0 / 0.6031 GB, free: 2.09 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002895/0.1763, allocations: 117.4 kB / 0.6032 GB, free: 1.969 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.1763, allocations: 10.03 kB / 0.6032 GB, free: 1.961 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.1763, allocations: 3.938 kB / 0.6032 GB, free: 1.957 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.156e-05/0.1764, allocations: 8.031 kB / 0.6032 GB, free: 1.949 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001056/0.1765, allocations: 15.98 kB / 0.6032 GB, free: 1.934 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.1765, allocations: 3.984 kB / 0.6032 GB, free: 1.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.961e-05/0.1766, allocations: 12 kB / 0.6032 GB, free: 1.918 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.094e-05/0.1766, allocations: 7.984 kB / 0.6032 GB, free: 1.91 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.0001021/0.1767, allocations: 122.5 kB / 0.6034 GB, free: 1.781 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.514e-05/0.1767, allocations: 23.8 kB / 0.6034 GB, free: 1.758 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.279e-05/0.1768, allocations: 21.19 kB / 0.6034 GB, free: 1.734 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.1768, allocations: 4 kB / 0.6034 GB, free: 1.73 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/0.1768, allocations: 3.938 kB / 0.6034 GB, free: 1.727 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.1768, allocations: 0 / 0.6034 GB, free: 1.727 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001642/0.177, allocations: 221.4 kB / 0.6036 GB, free: 1.461 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.177, allocations: 0 / 0.6036 GB, free: 1.461 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.982e-05/0.1771, allocations: 16.27 kB / 0.6036 GB, free: 1.445 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.038e-06/0.1771, allocations: 4 kB / 0.6036 GB, free: 1.441 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.107e-06/0.1771, allocations: 3.938 kB / 0.6036 GB, free: 1.438 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.1771, allocations: 8 kB / 0.6036 GB, free: 1.43 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.1771, allocations: 0 / 0.6036 GB, free: 1.43 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002981/0.1774, allocations: 140.8 kB / 0.6038 GB, free: 1.273 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.616e-05/0.1775, allocations: 96.91 kB / 0.6039 GB, free: 1.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.172e-05/0.1775, allocations: 3.938 kB / 0.6039 GB, free: 1.156 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.48e-05/0.1776, allocations: 15.98 kB / 0.6039 GB, free: 1.141 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.584e-05/0.1776, allocations: 3.984 kB / 0.6039 GB, free: 1.137 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.263e-05/0.1777, allocations: 8 kB / 0.6039 GB, free: 1.129 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001741/0.1778, allocations: 192.5 kB / 0.6041 GB, free: 0.9414 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1778, allocations: 0 / 0.6041 GB, free: 0.9414 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002128/0.1781, allocations: 20 kB / 0.6041 GB, free: 0.9219 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.0006889/0.1788, allocations: 0.6924 MB / 0.6048 GB, free: 208 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003026/0.1791, allocations: 75.88 kB / 0.6049 GB, free: 132 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1791, allocations: 0 / 0.6049 GB, free: 132 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001212/0.1792, allocations: 44.09 kB / 0.6049 GB, free: 88 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002834/0.1795, allocations: 40.34 kB / 0.6049 GB, free: 48 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2879/0.4674, allocations: 1.802 MB / 0.6067 GB, free: 39.7 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001325/0.4676, allocations: 0.7158 MB / 0.6074 GB, free: 39 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.514e-05/0.4677, allocations: 21.28 kB / 0.6074 GB, free: 39 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.3e-05/0.4678, allocations: 42.44 kB / 0.6075 GB, free: 38.99 MB / 0.4981 GB Notification: Performance of SimCode: time 9.21e-07/0.4678, allocations: 0 / 0.6075 GB, free: 38.99 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01234/0.4801, allocations: 3.269 MB / 0.6107 GB, free: 38.82 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003154/0.4805, allocations: 208.3 kB / 0.6108 GB, free: 38.57 MB / 0.4981 GB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I. -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o BuildSysPro_BuildSysPro_IBPSA_Utilities_IO_Files_Examples_JSONWriter.o BuildSysPro_BuildSysPro_IBPSA_Utilities_IO_Files_Examples_JSONWriter.c In file included from BuildSysPro_BuildSysPro_IBPSA_Utilities_IO_Files_Examples_JSONWriter.c:7: In file included from ./BuildSysPro_BuildSysPro_IBPSA_Utilities_IO_Files_Examples_JSONWriter_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:155: ./gc/omc_gc.h:223:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:227:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I. -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -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:2: In file included from ./BuildSysPro_BuildSysPro_IBPSA_Utilities_IO_Files_Examples_JSONWriter_functions.h:3: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:223:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:227:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 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 ^~~~~~~~~~~~~~~~~~ 2 warnings and 1 error generated. make: *** [: BuildSysPro_BuildSysPro_IBPSA_Utilities_IO_Files_Examples_JSONWriter_functions.o] Error 1