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.001173/0.001174, allocations: 104.9 kB / 16.4 MB, free: 6.379 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.0009802/0.0009802, allocations: 184.3 kB / 17.33 MB, free: 5.852 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.219/1.219, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.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.7958/0.7958, allocations: 143.1 MB / 434.3 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001111/0.001111, allocations: 57.53 kB / 0.5962 GB, free: 12.31 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1312/0.1323, allocations: 82.04 MB / 0.6763 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.IO.Files.Examples.JSONWriter): time 0.002716/0.135, allocations: 1.629 MB / 0.6779 GB, free: 8.723 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0008931/0.136, allocations: 0.5455 MB / 0.6784 GB, free: 8.172 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.864e-05/0.1361, allocations: 7.938 kB / 0.6784 GB, free: 8.164 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001733/0.1362, allocations: 31.78 kB / 0.6784 GB, free: 8.133 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0002517/0.1365, allocations: 63.67 kB / 0.6785 GB, free: 8.07 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001652/0.1367, allocations: 63.86 kB / 0.6786 GB, free: 8.008 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001924/0.1369, allocations: 127.6 kB / 0.6787 GB, free: 7.883 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001491/0.137, allocations: 57.45 kB / 0.6787 GB, free: 7.824 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001224/0.1372, allocations: 59.7 kB / 0.6788 GB, free: 7.766 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001228/0.1373, allocations: 63.69 kB / 0.6788 GB, free: 7.703 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 3.008e-05/0.1373, allocations: 8 kB / 0.6789 GB, free: 7.695 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 5.797e-05/0.1374, allocations: 24 kB / 0.6789 GB, free: 7.672 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 8.395e-05/0.1375, allocations: 43.89 kB / 0.6789 GB, free: 7.629 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 5.794e-05/0.1376, allocations: 59.55 kB / 0.679 GB, free: 7.57 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001975/0.1378, allocations: 155.4 kB / 0.6791 GB, free: 7.418 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.1378, allocations: 0 / 0.6791 GB, free: 7.418 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.262e-06/0.1378, allocations: 4 kB / 0.6791 GB, free: 7.414 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.641e-06/0.1378, allocations: 0 / 0.6791 GB, free: 7.414 MB / 0.5137 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.0005736/0.1384, allocations: 464.3 kB / 0.6796 GB, free: 6.914 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.176e-05/0.1384, allocations: 16.03 kB / 0.6796 GB, free: 6.898 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.385e-05/0.1385, allocations: 16.75 kB / 0.6796 GB, free: 6.883 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002826/0.1388, allocations: 240.8 kB / 0.6798 GB, free: 6.605 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.137e-05/0.1388, allocations: 8.375 kB / 0.6798 GB, free: 6.598 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.259e-05/0.1388, allocations: 4.375 kB / 0.6798 GB, free: 6.594 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002715/0.1391, allocations: 109.9 kB / 0.68 GB, free: 6.48 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.1391, allocations: 4 kB / 0.68 GB, free: 6.477 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.592e-05/0.1391, allocations: 8 kB / 0.68 GB, free: 6.469 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.1391, allocations: 0 / 0.68 GB, free: 6.469 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002201/0.1394, allocations: 63.88 kB / 0.68 GB, free: 6.406 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005478/0.1399, allocations: 380.5 kB / 0.6804 GB, free: 5.984 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001271/0.14, allocations: 42.48 kB / 0.6804 GB, free: 5.934 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001054/0.1402, allocations: 32.89 kB / 0.6805 GB, free: 5.898 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.599e-05/0.1402, allocations: 0 / 0.6805 GB, free: 5.898 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002126/0.1404, allocations: 97.09 kB / 0.6806 GB, free: 5.785 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=3): time 2.736e-06/0.1404, allocations: 3.984 kB / 0.6806 GB, free: 5.781 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3): time 0.0004201/0.1408, allocations: 125.3 kB / 0.6807 GB, free: 5.652 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.415e-05/0.1409, allocations: 77.11 kB / 0.6807 GB, free: 5.559 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002288/0.1411, allocations: 257 kB / 0.681 GB, free: 5.297 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.511e-05/0.1411, allocations: 29.64 kB / 0.681 GB, free: 5.262 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 7.558e-05/0.1412, allocations: 132 kB / 0.6811 GB, free: 5.129 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.874e-05/0.1413, allocations: 11.84 kB / 0.6812 GB, free: 5.117 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.833e-05/0.1413, allocations: 21.7 kB / 0.6812 GB, free: 5.09 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001037/0.1414, allocations: 326.8 kB / 0.6815 GB, free: 4.762 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001063/0.1415, allocations: 19.97 kB / 0.6815 GB, free: 4.742 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001165/0.1417, allocations: 51.41 kB / 0.6816 GB, free: 4.68 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001993/0.1419, allocations: 66.47 kB / 0.6816 GB, free: 4.605 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.1419, allocations: 0 / 0.6816 GB, free: 4.605 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002647/0.1421, allocations: 105.4 kB / 0.6817 GB, free: 4.496 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.1422, allocations: 10.03 kB / 0.6817 GB, free: 4.488 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.1422, allocations: 0 / 0.6817 GB, free: 4.488 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.706e-05/0.1422, allocations: 3.938 kB / 0.6817 GB, free: 4.484 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001021/0.1423, allocations: 11.98 kB / 0.6817 GB, free: 4.473 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.1423, allocations: 4 kB / 0.6818 GB, free: 4.469 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.138e-05/0.1424, allocations: 12.08 kB / 0.6818 GB, free: 4.457 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.176e-05/0.1424, allocations: 4 kB / 0.6818 GB, free: 4.453 MB / 0.5137 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 9.186e-05/0.1425, allocations: 130.4 kB / 0.6819 GB, free: 4.316 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.867e-05/0.1425, allocations: 19.72 kB / 0.6819 GB, free: 4.297 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.323e-05/0.1426, allocations: 25.17 kB / 0.6819 GB, free: 4.27 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-06/0.1426, allocations: 3.938 kB / 0.6819 GB, free: 4.266 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.1426, allocations: 0 / 0.6819 GB, free: 4.266 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.1426, allocations: 0 / 0.6819 GB, free: 4.266 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001544/0.1428, allocations: 217.6 kB / 0.6821 GB, free: 4.004 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.1428, allocations: 4 kB / 0.6821 GB, free: 4 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.526e-05/0.1429, allocations: 15.98 kB / 0.6822 GB, free: 3.984 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-06/0.1429, allocations: 0 / 0.6822 GB, free: 3.984 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.303e-06/0.1429, allocations: 0 / 0.6822 GB, free: 3.984 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.1429, allocations: 3.938 kB / 0.6822 GB, free: 3.98 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.1429, allocations: 0 / 0.6822 GB, free: 3.98 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000268/0.1432, allocations: 120.9 kB / 0.6823 GB, free: 3.844 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.765e-05/0.1432, allocations: 88.92 kB / 0.6824 GB, free: 3.738 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.275e-05/0.1432, allocations: 7.984 kB / 0.6824 GB, free: 3.73 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.717e-05/0.1433, allocations: 11.94 kB / 0.6824 GB, free: 3.719 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.84e-05/0.1434, allocations: 7.984 kB / 0.6824 GB, free: 3.711 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.162e-05/0.1434, allocations: 4 kB / 0.6824 GB, free: 3.707 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001547/0.1436, allocations: 192.4 kB / 0.6826 GB, free: 3.52 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.074e-06/0.1436, allocations: 0 / 0.6826 GB, free: 3.52 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002088/0.1438, allocations: 28.06 kB / 0.6826 GB, free: 3.492 MB / 0.5137 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.0002008/0.144, allocations: 134.4 kB / 0.6827 GB, free: 3.355 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002739/0.1443, allocations: 63.98 kB / 0.6828 GB, free: 3.293 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1443, allocations: 0 / 0.6828 GB, free: 3.293 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001108/0.1444, allocations: 31.91 kB / 0.6828 GB, free: 3.262 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002741/0.1447, allocations: 47.16 kB / 0.6829 GB, free: 3.223 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004917/0.1452, allocations: 309.7 kB / 0.6832 GB, free: 2.887 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000276/0.1455, allocations: 0.7198 MB / 0.6839 GB, free: 2.141 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.078e-05/0.1455, allocations: 15.44 kB / 0.6839 GB, free: 2.125 MB / 0.5137 GB Notification: Performance of SimCode: time 3.1e-07/0.1455, allocations: 0 / 0.6839 GB, free: 2.125 MB / 0.5137 GB Notification: Performance of Templates: time 0.003795/0.1493, allocations: 2.15 MB / 0.686 GB, free: 15.98 MB / 0.5294 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++ -std=c++17 -fopenmp=libomp -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildSysPro_BuildSysPro.IBPSA.Utilities.IO.Files.Examples.JSONWriterCalcHelperMain.o OMCppBuildSysPro_BuildSysPro.IBPSA.Utilities.IO.Files.Examples.JSONWriterCalcHelperMain.cpp In file included from OMCppBuildSysPro_BuildSysPro.IBPSA.Utilities.IO.Files.Examples.JSONWriterCalcHelperMain.cpp:28: ./OMCppBuildSysPro_BuildSysPro.IBPSA.Utilities.IO.Files.Examples.JSONWriterFunctions.cpp:5:11: fatal error: 'jsonWriterFree.c' file not found #include ^~~~~~~~~~~~~~~~~~ 1 error generated. make: *** [: OMCppBuildSysPro_BuildSysPro.IBPSA.Utilities.IO.Files.Examples.JSONWriterCalcHelperMain.o] Error 1