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.001182/0.001182, allocations: 107.4 kB / 15.34 MB, free: 0.5195 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.001164/0.001164, allocations: 191.2 kB / 16.25 MB, free: 6.617 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.198/1.198, allocations: 222.9 MB / 239.9 MB, free: 4.504 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.8494/0.8494, allocations: 143 MB / 433.1 MB, free: 11.48 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001063/0.001063, allocations: 56.09 kB / 0.5138 GB, free: 11.86 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1177/0.1187, allocations: 82.05 MB / 0.5939 GB, free: 9.777 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.IO.Files.Examples.JSONWriter): time 0.002369/0.1211, allocations: 1.688 MB / 0.5956 GB, free: 8.07 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0006851/0.1218, allocations: 0.5378 MB / 0.5961 GB, free: 7.527 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.388e-05/0.1219, allocations: 3.938 kB / 0.5961 GB, free: 7.523 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001443/0.1221, allocations: 15.86 kB / 0.5961 GB, free: 7.508 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001953/0.1223, allocations: 58.19 kB / 0.5962 GB, free: 7.453 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001239/0.1224, allocations: 59.88 kB / 0.5962 GB, free: 7.395 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001456/0.1226, allocations: 135.5 kB / 0.5964 GB, free: 7.262 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001219/0.1227, allocations: 49.41 kB / 0.5964 GB, free: 7.211 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.193e-05/0.1228, allocations: 51.83 kB / 0.5964 GB, free: 7.16 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.659e-05/0.1229, allocations: 59.7 kB / 0.5965 GB, free: 7.102 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.393e-05/0.1229, allocations: 15.94 kB / 0.5965 GB, free: 7.086 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 4.968e-05/0.123, allocations: 27.97 kB / 0.5965 GB, free: 7.059 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.579e-05/0.123, allocations: 43.78 kB / 0.5966 GB, free: 7.016 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.427e-05/0.1231, allocations: 63.59 kB / 0.5966 GB, free: 6.953 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001555/0.1233, allocations: 143.7 kB / 0.5968 GB, free: 6.812 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.1233, allocations: 0 / 0.5968 GB, free: 6.812 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.153e-06/0.1233, allocations: 0 / 0.5968 GB, free: 6.812 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.418e-06/0.1233, allocations: 4 kB / 0.5968 GB, free: 6.809 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.0004908/0.1238, allocations: 466.6 kB / 0.5972 GB, free: 6.305 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.354e-05/0.1238, allocations: 12.03 kB / 0.5972 GB, free: 6.293 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.306e-05/0.1239, allocations: 46.67 kB / 0.5973 GB, free: 6.238 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.926e-05/0.1239, allocations: 20.75 kB / 0.5973 GB, free: 6.219 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001877/0.1241, allocations: 228.9 kB / 0.5975 GB, free: 5.957 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.435e-06/0.1241, allocations: 4.375 kB / 0.5975 GB, free: 5.953 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.072e-05/0.1241, allocations: 4.375 kB / 0.5975 GB, free: 5.949 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000231/0.1244, allocations: 105.8 kB / 0.5976 GB, free: 5.84 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.432e-06/0.1244, allocations: 0 / 0.5976 GB, free: 5.84 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.51e-05/0.1244, allocations: 12 kB / 0.5976 GB, free: 5.828 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.1244, allocations: 0 / 0.5976 GB, free: 5.828 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001962/0.1246, allocations: 63.88 kB / 0.5977 GB, free: 5.766 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004612/0.1251, allocations: 392.4 kB / 0.5981 GB, free: 5.332 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001122/0.1252, allocations: 34.56 kB / 0.5981 GB, free: 5.289 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.563e-05/0.1253, allocations: 32.89 kB / 0.5981 GB, free: 5.254 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.292e-05/0.1253, allocations: 0 / 0.5981 GB, free: 5.254 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002025/0.1255, allocations: 101.1 kB / 0.5982 GB, free: 5.137 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 9.72e-07/0.1255, allocations: 0 / 0.5982 GB, free: 5.137 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0003558/0.1259, allocations: 125.4 kB / 0.5984 GB, free: 5.008 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.361e-05/0.1259, allocations: 77.11 kB / 0.5984 GB, free: 4.914 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002029/0.1261, allocations: 253 kB / 0.5987 GB, free: 4.66 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.516e-05/0.1262, allocations: 29.7 kB / 0.5987 GB, free: 4.625 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.347e-05/0.1262, allocations: 135.9 kB / 0.5988 GB, free: 4.488 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.618e-05/0.1263, allocations: 7.906 kB / 0.5988 GB, free: 4.48 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.142e-05/0.1263, allocations: 17.72 kB / 0.5989 GB, free: 4.457 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.928e-05/0.1264, allocations: 330.8 kB / 0.5992 GB, free: 4.125 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.433e-05/0.1265, allocations: 19.97 kB / 0.5992 GB, free: 4.105 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001034/0.1266, allocations: 51.45 kB / 0.5992 GB, free: 4.043 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001806/0.1268, allocations: 70.45 kB / 0.5993 GB, free: 3.965 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.1268, allocations: 0 / 0.5993 GB, free: 3.965 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002345/0.127, allocations: 105.4 kB / 0.5994 GB, free: 3.855 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.217e-06/0.1271, allocations: 8 kB / 0.5994 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.376e-06/0.1271, allocations: 0 / 0.5994 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.728e-06/0.1271, allocations: 3.938 kB / 0.5994 GB, free: 3.844 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.011e-05/0.1272, allocations: 15.92 kB / 0.5994 GB, free: 3.828 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.1272, allocations: 4 kB / 0.5994 GB, free: 3.824 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.028e-05/0.1273, allocations: 15.98 kB / 0.5995 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.117e-06/0.1273, allocations: 4 kB / 0.5995 GB, free: 3.805 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 7.932e-05/0.1274, allocations: 130.4 kB / 0.5996 GB, free: 3.668 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.513e-05/0.1274, allocations: 15.81 kB / 0.5996 GB, free: 3.652 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.045e-05/0.1274, allocations: 25.17 kB / 0.5996 GB, free: 3.625 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-06/0.1274, allocations: 0 / 0.5996 GB, free: 3.625 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.1274, allocations: 0 / 0.5996 GB, free: 3.625 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.743e-06/0.1274, allocations: 0 / 0.5996 GB, free: 3.625 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001303/0.1276, allocations: 217.5 kB / 0.5998 GB, free: 3.363 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.1276, allocations: 4 kB / 0.5998 GB, free: 3.359 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.461e-05/0.1277, allocations: 15.98 kB / 0.5999 GB, free: 3.344 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.462e-06/0.1277, allocations: 0 / 0.5999 GB, free: 3.344 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.298e-06/0.1277, allocations: 7.938 kB / 0.5999 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.1277, allocations: 3.984 kB / 0.5999 GB, free: 3.332 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.32e-07/0.1277, allocations: 0 / 0.5999 GB, free: 3.332 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002399/0.1279, allocations: 124.8 kB / 0.6 GB, free: 3.191 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.764e-05/0.128, allocations: 88.92 kB / 0.6001 GB, free: 3.086 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.001e-05/0.128, allocations: 3.938 kB / 0.6001 GB, free: 3.082 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.404e-05/0.1281, allocations: 11.98 kB / 0.6001 GB, free: 3.07 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.401e-05/0.1281, allocations: 7.984 kB / 0.6001 GB, free: 3.062 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.858e-05/0.1282, allocations: 4 kB / 0.6001 GB, free: 3.059 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001408/0.1283, allocations: 192.4 kB / 0.6003 GB, free: 2.871 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1283, allocations: 0 / 0.6003 GB, free: 2.871 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001961/0.1285, allocations: 28.03 kB / 0.6003 GB, free: 2.844 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.0005119/0.129, allocations: 0.6751 MB / 0.601 GB, free: 2.145 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002366/0.1293, allocations: 64 kB / 0.601 GB, free: 2.082 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.1293, allocations: 4 kB / 0.601 GB, free: 2.078 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.56e-05/0.1294, allocations: 31.95 kB / 0.6011 GB, free: 2.047 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000242/0.1296, allocations: 40.59 kB / 0.6011 GB, free: 2.008 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001671/0.1313, allocations: 1.778 MB / 0.6028 GB, free: 124 kB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1793/0.3106, allocations: 0.715 MB / 0.6035 GB, free: 43.44 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 9.357e-05/0.3107, allocations: 13.34 kB / 0.6035 GB, free: 43.44 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.857e-05/0.3108, allocations: 47.23 kB / 0.6036 GB, free: 43.43 MB / 0.4981 GB Notification: Performance of SimCode: time 4.71e-07/0.3108, allocations: 0 / 0.6036 GB, free: 43.43 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3468/0.6576, allocations: 3.419 MB / 0.6069 GB, free: 43.21 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001985/0.6578, allocations: 211.1 kB / 0.6071 GB, free: 42.95 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:7: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