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.001222/0.001222, allocations: 112.9 kB / 16.42 MB, free: 6.441 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.001165/0.001166, allocations: 189.6 kB / 17.35 MB, free: 5.727 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.341/1.341, allocations: 222.9 MB / 241 MB, free: 15.16 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.8364/0.8364, allocations: 143 MB / 434.3 MB, free: 12.01 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001971/0.001971, allocations: 67.95 kB / 0.5962 GB, free: 12.32 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1448/0.1468, allocations: 82.04 MB / 0.6763 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.IO.Files.Examples.JSONWriter): time 0.00278/0.1496, allocations: 1.637 MB / 0.6779 GB, free: 8.742 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0008045/0.1504, allocations: 0.5377 MB / 0.6784 GB, free: 8.199 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.618e-05/0.1505, allocations: 7.938 kB / 0.6784 GB, free: 8.191 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001527/0.1506, allocations: 23.8 kB / 0.6784 GB, free: 8.168 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0002232/0.1509, allocations: 71.66 kB / 0.6785 GB, free: 8.098 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001412/0.151, allocations: 59.92 kB / 0.6786 GB, free: 8.039 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001712/0.1512, allocations: 135.5 kB / 0.6787 GB, free: 7.906 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001386/0.1513, allocations: 53.45 kB / 0.6788 GB, free: 7.852 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001166/0.1515, allocations: 51.78 kB / 0.6788 GB, free: 7.801 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001032/0.1516, allocations: 67.62 kB / 0.6789 GB, free: 7.734 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.391e-05/0.1516, allocations: 8 kB / 0.6789 GB, free: 7.727 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 5.286e-05/0.1517, allocations: 19.98 kB / 0.6789 GB, free: 7.707 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 7.952e-05/0.1518, allocations: 47.89 kB / 0.6789 GB, free: 7.66 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 6.326e-05/0.1518, allocations: 63.55 kB / 0.679 GB, free: 7.598 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001817/0.152, allocations: 155.4 kB / 0.6791 GB, free: 7.445 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 2.945e-06/0.152, allocations: 0 / 0.6791 GB, free: 7.445 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.012e-06/0.152, allocations: 7.938 kB / 0.6792 GB, free: 7.438 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.39e-06/0.152, allocations: 0 / 0.6792 GB, free: 7.438 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.0005623/0.1526, allocations: 462.6 kB / 0.6796 GB, free: 6.938 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.534e-05/0.1527, allocations: 8.031 kB / 0.6796 GB, free: 6.93 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.842e-05/0.1527, allocations: 16.75 kB / 0.6796 GB, free: 6.914 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002646/0.153, allocations: 244.8 kB / 0.6799 GB, free: 6.633 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.968e-06/0.153, allocations: 8.375 kB / 0.6799 GB, free: 6.625 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.672e-05/0.153, allocations: 8.375 kB / 0.6799 GB, free: 6.617 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002552/0.1533, allocations: 106 kB / 0.68 GB, free: 6.508 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.1533, allocations: 0 / 0.68 GB, free: 6.508 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.509e-05/0.1533, allocations: 7.984 kB / 0.68 GB, free: 6.5 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.1533, allocations: 0 / 0.68 GB, free: 6.5 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002171/0.1535, allocations: 59.94 kB / 0.68 GB, free: 6.441 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005358/0.1541, allocations: 388.4 kB / 0.6804 GB, free: 6.012 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001355/0.1542, allocations: 46.48 kB / 0.6805 GB, free: 5.957 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001006/0.1544, allocations: 24.91 kB / 0.6805 GB, free: 5.93 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.409e-05/0.1544, allocations: 4 kB / 0.6805 GB, free: 5.926 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002009/0.1546, allocations: 93.08 kB / 0.6806 GB, free: 5.816 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=3): time 1.212e-06/0.1546, allocations: 0 / 0.6806 GB, free: 5.816 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3): time 0.00041/0.155, allocations: 133.3 kB / 0.6807 GB, free: 5.68 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.122e-05/0.1551, allocations: 77.11 kB / 0.6808 GB, free: 5.586 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002367/0.1553, allocations: 253 kB / 0.681 GB, free: 5.328 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.848e-05/0.1553, allocations: 29.7 kB / 0.681 GB, free: 5.293 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 7.273e-05/0.1554, allocations: 132 kB / 0.6812 GB, free: 5.16 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.633e-05/0.1554, allocations: 3.906 kB / 0.6812 GB, free: 5.156 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.776e-05/0.1555, allocations: 25.64 kB / 0.6812 GB, free: 5.125 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000101/0.1556, allocations: 322.8 kB / 0.6815 GB, free: 4.801 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001058/0.1557, allocations: 27.97 kB / 0.6815 GB, free: 4.773 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001109/0.1558, allocations: 47.41 kB / 0.6816 GB, free: 4.715 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002003/0.156, allocations: 70.5 kB / 0.6816 GB, free: 4.637 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.156, allocations: 4 kB / 0.6816 GB, free: 4.633 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002663/0.1563, allocations: 101.4 kB / 0.6817 GB, free: 4.527 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.1563, allocations: 6.188 kB / 0.6817 GB, free: 4.523 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.1563, allocations: 96 / 0.6817 GB, free: 4.523 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.1563, allocations: 8 kB / 0.6818 GB, free: 4.516 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001032/0.1565, allocations: 16.2 kB / 0.6818 GB, free: 4.5 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-06/0.1565, allocations: 0 / 0.6818 GB, free: 4.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.433e-05/0.1566, allocations: 11.98 kB / 0.6818 GB, free: 4.488 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.163e-06/0.1566, allocations: 0 / 0.6818 GB, free: 4.488 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.33e-05/0.1567, allocations: 133.8 kB / 0.6819 GB, free: 4.348 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.452e-05/0.1567, allocations: 23.7 kB / 0.6819 GB, free: 4.324 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.243e-05/0.1567, allocations: 21.23 kB / 0.6819 GB, free: 4.301 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.1568, allocations: 7.875 kB / 0.682 GB, free: 4.293 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.1568, allocations: 0 / 0.682 GB, free: 4.293 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.118e-05/0.1568, allocations: 88.92 kB / 0.682 GB, free: 4.188 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.098e-05/0.1568, allocations: 4 kB / 0.682 GB, free: 4.184 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.454e-05/0.1569, allocations: 11.98 kB / 0.6821 GB, free: 4.172 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.045e-05/0.157, allocations: 11.92 kB / 0.6821 GB, free: 4.16 MB / 0.5137 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003108/0.1573, allocations: 164.9 kB / 0.6822 GB, free: 3.992 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003121/0.1576, allocations: 266.5 kB / 0.6825 GB, free: 3.715 MB / 0.5137 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001126/0.1577, allocations: 31.91 kB / 0.6825 GB, free: 3.684 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.00016/0.1579, allocations: 196.5 kB / 0.6827 GB, free: 3.492 MB / 0.5137 GB Notification: Performance of Backend: time 3.61e-07/0.1579, allocations: 0 / 0.6827 GB, free: 3.492 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0005879/0.1585, allocations: 153.8 kB / 0.6828 GB, free: 3.34 MB / 0.5137 GB Notification: Performance of SimCode: time 0.0006407/0.1591, allocations: 0.7448 MB / 0.6836 GB, free: 2.551 MB / 0.5137 GB Notification: Performance of Templates: time 0.004778/0.1639, allocations: 1.961 MB / 0.6855 GB, free: 0.6094 MB / 0.5137 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 -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -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 -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -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:7: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