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.0006733/0.0006733, allocations: 87.11 kB / 15.06 MB, free: 1.09 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.0007034/0.0007033, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.17/1.17, allocations: 223.3 MB / 240 MB, free: 5.426 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.8719/0.8719, allocations: 143.2 MB / 434.2 MB, free: 13.77 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002666/0.0002666, allocations: 8 kB / 0.5158 GB, free: 11.56 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1305/0.1308, allocations: 83.42 MB / 0.5972 GB, free: 8.109 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.IO.Files.Examples.JSONWriter): time 0.00156/0.1324, allocations: 1.334 MB / 0.5986 GB, free: 6.762 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0006822/0.1331, allocations: 0.5108 MB / 0.5991 GB, free: 6.246 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.021e-05/0.1332, allocations: 3.938 kB / 0.5991 GB, free: 6.242 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001308/0.1333, allocations: 15.92 kB / 0.5991 GB, free: 6.227 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001833/0.1335, allocations: 63.67 kB / 0.5991 GB, free: 6.164 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001083/0.1336, allocations: 51.94 kB / 0.5992 GB, free: 6.113 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.000148/0.1338, allocations: 119.5 kB / 0.5993 GB, free: 5.996 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001128/0.1339, allocations: 37.47 kB / 0.5993 GB, free: 5.957 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.161e-05/0.134, allocations: 39.78 kB / 0.5994 GB, free: 5.918 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.598e-05/0.1341, allocations: 55.7 kB / 0.5994 GB, free: 5.863 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.562e-05/0.1341, allocations: 0 / 0.5994 GB, free: 5.863 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 4.082e-05/0.1342, allocations: 20 kB / 0.5994 GB, free: 5.844 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.081e-05/0.1342, allocations: 35.89 kB / 0.5995 GB, free: 5.809 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.053e-05/0.1343, allocations: 45.58 kB / 0.5995 GB, free: 5.758 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001198/0.1344, allocations: 104 kB / 0.5996 GB, free: 5.656 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.1344, allocations: 0 / 0.5996 GB, free: 5.656 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.152e-06/0.1344, allocations: 0 / 0.5996 GB, free: 5.656 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.266e-06/0.1344, allocations: 0 / 0.5996 GB, free: 5.656 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.0004963/0.1349, allocations: 458.5 kB / 0.6001 GB, free: 5.16 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 2.836e-05/0.135, allocations: 8.031 kB / 0.6001 GB, free: 5.152 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.247e-05/0.135, allocations: 15.81 kB / 0.6001 GB, free: 5.137 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002272/0.1352, allocations: 235.6 kB / 0.6003 GB, free: 4.863 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.032e-05/0.1353, allocations: 0 / 0.6003 GB, free: 4.863 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.161e-05/0.1353, allocations: 4 kB / 0.6003 GB, free: 4.859 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002338/0.1355, allocations: 117.4 kB / 0.6004 GB, free: 4.742 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.1355, allocations: 7.984 kB / 0.6004 GB, free: 4.734 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.311e-05/0.1355, allocations: 0 / 0.6004 GB, free: 4.734 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.1355, allocations: 0 / 0.6004 GB, free: 4.734 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002022/0.1358, allocations: 87.86 kB / 0.6005 GB, free: 4.648 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004862/0.1362, allocations: 392.5 kB / 0.6009 GB, free: 4.215 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001234/0.1364, allocations: 54.48 kB / 0.6009 GB, free: 4.152 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.197e-05/0.1365, allocations: 32.91 kB / 0.601 GB, free: 4.117 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.238e-05/0.1365, allocations: 7.953 kB / 0.601 GB, free: 4.109 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002156/0.1367, allocations: 105.1 kB / 0.6011 GB, free: 3.988 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.1367, allocations: 0 / 0.6011 GB, free: 3.988 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0003749/0.1371, allocations: 149.4 kB / 0.6012 GB, free: 3.836 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.521e-05/0.1372, allocations: 85.05 kB / 0.6013 GB, free: 3.734 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002131/0.1374, allocations: 249 kB / 0.6015 GB, free: 3.484 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.063e-05/0.1374, allocations: 29.69 kB / 0.6016 GB, free: 3.449 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.515e-05/0.1375, allocations: 128 kB / 0.6017 GB, free: 3.32 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.283e-05/0.1375, allocations: 7.906 kB / 0.6017 GB, free: 3.312 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.707e-06/0.1375, allocations: 4 kB / 0.6017 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001015/0.1376, allocations: 330.8 kB / 0.602 GB, free: 2.977 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.672e-05/0.1377, allocations: 27.98 kB / 0.602 GB, free: 2.949 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001018/0.1378, allocations: 55.34 kB / 0.6021 GB, free: 2.883 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001032/0.1379, allocations: 43.94 kB / 0.6021 GB, free: 2.84 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.1379, allocations: 0 / 0.6021 GB, free: 2.84 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002499/0.1382, allocations: 121.3 kB / 0.6022 GB, free: 2.715 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/0.1382, allocations: 8 kB / 0.6023 GB, free: 2.707 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.437e-06/0.1382, allocations: 0 / 0.6023 GB, free: 2.707 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.406e-06/0.1382, allocations: 0 / 0.6023 GB, free: 2.707 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.021e-05/0.1383, allocations: 15.98 kB / 0.6023 GB, free: 2.691 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.027e-06/0.1383, allocations: 4.094 kB / 0.6023 GB, free: 2.688 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.807e-05/0.1384, allocations: 19.89 kB / 0.6023 GB, free: 2.668 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.311e-06/0.1384, allocations: 0 / 0.6023 GB, free: 2.668 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.14e-05/0.1385, allocations: 129.8 kB / 0.6024 GB, free: 2.531 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.363e-05/0.1386, allocations: 19.77 kB / 0.6024 GB, free: 2.512 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.801e-05/0.1386, allocations: 17.23 kB / 0.6025 GB, free: 2.492 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-06/0.1386, allocations: 4 kB / 0.6025 GB, free: 2.488 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.055e-06/0.1386, allocations: 4 kB / 0.6025 GB, free: 2.484 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.723e-06/0.1386, allocations: 0 / 0.6025 GB, free: 2.484 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001428/0.1388, allocations: 213.6 kB / 0.6027 GB, free: 2.227 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.1388, allocations: 288 / 0.6027 GB, free: 2.227 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.274e-05/0.1388, allocations: 15.98 kB / 0.6027 GB, free: 2.211 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.1389, allocations: 0 / 0.6027 GB, free: 2.211 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.779e-06/0.1389, allocations: 7.938 kB / 0.6027 GB, free: 2.203 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.1389, allocations: 7.938 kB / 0.6027 GB, free: 2.195 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.1389, allocations: 0 / 0.6027 GB, free: 2.195 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002457/0.1391, allocations: 136.9 kB / 0.6028 GB, free: 2.043 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.55e-05/0.1392, allocations: 100.9 kB / 0.6029 GB, free: 1.926 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.947e-05/0.1392, allocations: 0 / 0.6029 GB, free: 1.926 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.708e-05/0.1393, allocations: 23.88 kB / 0.6029 GB, free: 1.902 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.76e-05/0.1393, allocations: 0 / 0.6029 GB, free: 1.902 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.002e-05/0.1394, allocations: 7.984 kB / 0.603 GB, free: 1.895 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001525/0.1395, allocations: 188.5 kB / 0.6031 GB, free: 1.711 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.61e-07/0.1395, allocations: 0 / 0.6031 GB, free: 1.711 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002174/0.1397, allocations: 27.83 kB / 0.6032 GB, free: 1.684 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001653/0.1399, allocations: 116.9 kB / 0.6033 GB, free: 1.562 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002394/0.1402, allocations: 75.88 kB / 0.6033 GB, free: 1.488 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.1402, allocations: 0 / 0.6033 GB, free: 1.488 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001003/0.1403, allocations: 32.16 kB / 0.6034 GB, free: 1.457 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002704/0.1406, allocations: 40.41 kB / 0.6034 GB, free: 1.418 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004818/0.141, allocations: 318 kB / 0.6037 GB, free: 1.07 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002936/0.1413, allocations: 0.716 MB / 0.6044 GB, free: 336 kB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.992e-05/0.1414, allocations: 16.48 kB / 0.6044 GB, free: 320 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.148e-05/0.1415, allocations: 19.42 kB / 0.6044 GB, free: 300 kB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.1415, allocations: 4 kB / 0.6045 GB, free: 296 kB / 0.4981 GB Notification: Performance of Templates: time 0.2162/0.3577, allocations: 1.589 MB / 0.606 GB, free: 40.46 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. -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. -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