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.00132/0.00132, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00135/0.00135, allocations: 194.1 kB / 16.14 MB, free: 6.703 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.28/1.28, allocations: 222.9 MB / 239.8 MB, free: 4.613 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.9689/0.9689, allocations: 143 MB / 433 MB, free: 11.64 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001189/0.001189, allocations: 71.89 kB / 0.5136 GB, free: 12.06 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1697/0.1709, allocations: 82.03 MB / 0.5937 GB, free: 9.992 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.IO.Files.Examples.JSONWriter): time 0.002991/0.1739, allocations: 1.702 MB / 0.5954 GB, free: 8.273 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008538/0.1748, allocations: 0.5378 MB / 0.5959 GB, free: 7.73 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.774e-05/0.1749, allocations: 4 kB / 0.5959 GB, free: 7.727 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001875/0.1751, allocations: 27.84 kB / 0.5959 GB, free: 7.699 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002297/0.1753, allocations: 47.77 kB / 0.596 GB, free: 7.652 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001458/0.1755, allocations: 59.94 kB / 0.596 GB, free: 7.594 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001609/0.1756, allocations: 127.5 kB / 0.5962 GB, free: 7.469 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000174/0.1758, allocations: 49.41 kB / 0.5962 GB, free: 7.418 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000109/0.1759, allocations: 47.84 kB / 0.5963 GB, free: 7.371 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000113/0.1761, allocations: 63.69 kB / 0.5963 GB, free: 7.309 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.632e-05/0.1761, allocations: 4 kB / 0.5963 GB, free: 7.305 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.338e-05/0.1762, allocations: 19.94 kB / 0.5963 GB, free: 7.285 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.99e-05/0.1763, allocations: 39.83 kB / 0.5964 GB, free: 7.246 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.911e-05/0.1763, allocations: 59.59 kB / 0.5964 GB, free: 7.188 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001903/0.1765, allocations: 143.7 kB / 0.5966 GB, free: 7.047 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.1766, allocations: 4 kB / 0.5966 GB, free: 7.043 MB / 0.4981 GB Notification: Performance of FrontEnd: time 7.51e-07/0.1766, allocations: 0 / 0.5966 GB, free: 7.043 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.914e-06/0.1766, allocations: 0 / 0.5966 GB, free: 7.043 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.0006536/0.1772, allocations: 474.5 kB / 0.597 GB, free: 6.531 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/0.1773, allocations: 8.031 kB / 0.597 GB, free: 6.523 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.737e-05/0.1773, allocations: 38.75 kB / 0.5971 GB, free: 6.477 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.54e-05/0.1774, allocations: 16.75 kB / 0.5971 GB, free: 6.461 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002361/0.1776, allocations: 228.9 kB / 0.5973 GB, free: 6.199 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.408e-06/0.1776, allocations: 12.38 kB / 0.5973 GB, free: 6.188 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.469e-05/0.1777, allocations: 8.312 kB / 0.5973 GB, free: 6.18 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002701/0.1779, allocations: 120.4 kB / 0.5974 GB, free: 6.059 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.634e-06/0.178, allocations: 0 / 0.5974 GB, free: 6.059 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.165e-05/0.178, allocations: 0 / 0.5974 GB, free: 6.059 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.178, allocations: 0 / 0.5974 GB, free: 6.059 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002233/0.1782, allocations: 63.94 kB / 0.5975 GB, free: 5.996 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005585/0.1788, allocations: 384.4 kB / 0.5979 GB, free: 5.57 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001336/0.1789, allocations: 42.55 kB / 0.5979 GB, free: 5.52 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001018/0.179, allocations: 28.89 kB / 0.5979 GB, free: 5.488 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.59e-05/0.179, allocations: 4 kB / 0.5979 GB, free: 5.484 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002588/0.1793, allocations: 101 kB / 0.598 GB, free: 5.367 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.1793, allocations: 0 / 0.598 GB, free: 5.367 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0004234/0.1797, allocations: 121.4 kB / 0.5982 GB, free: 5.242 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.498e-05/0.1798, allocations: 77.11 kB / 0.5982 GB, free: 5.148 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002406/0.18, allocations: 257 kB / 0.5985 GB, free: 4.891 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.63e-05/0.1801, allocations: 25.7 kB / 0.5985 GB, free: 4.859 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.905e-05/0.1802, allocations: 132 kB / 0.5986 GB, free: 4.727 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.879e-05/0.1802, allocations: 15.81 kB / 0.5986 GB, free: 4.711 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.579e-05/0.1802, allocations: 17.72 kB / 0.5987 GB, free: 4.688 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001199/0.1804, allocations: 330.8 kB / 0.599 GB, free: 4.355 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001089/0.1805, allocations: 23.97 kB / 0.599 GB, free: 4.332 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001182/0.1806, allocations: 55.34 kB / 0.5991 GB, free: 4.266 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001973/0.1808, allocations: 66.56 kB / 0.5991 GB, free: 4.191 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.1808, allocations: 0 / 0.5991 GB, free: 4.191 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002638/0.1811, allocations: 101.4 kB / 0.5992 GB, free: 4.086 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.233e-05/0.1811, allocations: 8.094 kB / 0.5992 GB, free: 4.078 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.593e-06/0.1811, allocations: 3.984 kB / 0.5992 GB, free: 4.074 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.1811, allocations: 7.938 kB / 0.5992 GB, free: 4.066 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001171/0.1813, allocations: 15.92 kB / 0.5992 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.1813, allocations: 0 / 0.5992 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.349e-05/0.1814, allocations: 15.89 kB / 0.5993 GB, free: 4.035 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.728e-06/0.1814, allocations: 4 kB / 0.5993 GB, free: 4.031 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.000105/0.1815, allocations: 126.5 kB / 0.5994 GB, free: 3.898 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.805e-05/0.1815, allocations: 19.81 kB / 0.5994 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.724e-05/0.1816, allocations: 21.19 kB / 0.5994 GB, free: 3.855 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.1816, allocations: 0 / 0.5994 GB, free: 3.855 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.1816, allocations: 4 kB / 0.5994 GB, free: 3.852 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.1816, allocations: 3.984 kB / 0.5994 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001636/0.1818, allocations: 213.5 kB / 0.5996 GB, free: 3.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-07/0.1818, allocations: 0 / 0.5996 GB, free: 3.59 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.955e-05/0.1818, allocations: 11.98 kB / 0.5996 GB, free: 3.578 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.1819, allocations: 0 / 0.5996 GB, free: 3.578 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.566e-06/0.1819, allocations: 7.875 kB / 0.5997 GB, free: 3.57 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.1819, allocations: 4 kB / 0.5997 GB, free: 3.566 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1819, allocations: 4 kB / 0.5997 GB, free: 3.562 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000271/0.1822, allocations: 116.8 kB / 0.5998 GB, free: 3.43 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.535e-05/0.1822, allocations: 92.91 kB / 0.5999 GB, free: 3.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.428e-05/0.1822, allocations: 7.938 kB / 0.5999 GB, free: 3.312 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.196e-05/0.1823, allocations: 15.98 kB / 0.5999 GB, free: 3.297 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.569e-05/0.1824, allocations: 4 kB / 0.5999 GB, free: 3.293 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.357e-05/0.1824, allocations: 7.984 kB / 0.5999 GB, free: 3.285 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001619/0.1826, allocations: 184.5 kB / 0.6001 GB, free: 3.105 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.533e-06/0.1826, allocations: 0 / 0.6001 GB, free: 3.105 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002118/0.1828, allocations: 27.97 kB / 0.6001 GB, free: 3.078 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.0006477/0.1835, allocations: 0.675 MB / 0.6008 GB, free: 2.375 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002564/0.1837, allocations: 59.89 kB / 0.6008 GB, free: 2.316 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1837, allocations: 0 / 0.6008 GB, free: 2.316 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001057/0.1838, allocations: 27.97 kB / 0.6008 GB, free: 2.289 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002919/0.1841, allocations: 44.33 kB / 0.6009 GB, free: 2.246 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002007/0.1862, allocations: 1.766 MB / 0.6026 GB, free: 384 kB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2513/0.4375, allocations: 0.7182 MB / 0.6033 GB, free: 43.56 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001412/0.4376, allocations: 16.72 kB / 0.6033 GB, free: 43.56 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.226e-05/0.4377, allocations: 39.03 kB / 0.6034 GB, free: 43.55 MB / 0.4981 GB Notification: Performance of SimCode: time 1.283e-06/0.4377, allocations: 2.062 kB / 0.6034 GB, free: 43.55 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01271/0.4504, allocations: 3.352 MB / 0.6066 GB, free: 43.3 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001309/0.4506, allocations: 212.4 kB / 0.6068 GB, free: 43.04 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:161: ./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