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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007836/0.0007836, allocations: 76.5 kB / 19.93 MB, free: 4.629 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007916/0.0007916, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8372/0.8372, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.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.7.0/package.mo): time 0.5039/0.5039, allocations: 110.2 MB / 370.2 MB, free: 12.61 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:44:3-56:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:58:3-65:19:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:67:3-72:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:74:3-79:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Utilities.IO.Files.Examples.JSONWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.IO.Files.Examples.JSONWriter") translateModel(BuildSysPro.IBPSA.Utilities.IO.Files.Examples.JSONWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.IO.Files.Examples.JSONWriter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.532e-06/1.532e-06, allocations: 0 / 0.5485 GB, free: 9.383 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.404e-05/2.557e-05, allocations: 6.219 kB / 0.5485 GB, free: 9.375 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.IO.Files.Examples.JSONWriter): time 0.002155/0.002181, allocations: 1.642 MB / 0.5501 GB, free: 7.719 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.000766/0.002947, allocations: 0.5726 MB / 0.5506 GB, free: 7.141 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.416e-05/0.003031, allocations: 11.94 kB / 0.5507 GB, free: 7.129 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0001625/0.003193, allocations: 35.7 kB / 0.5507 GB, free: 7.094 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0002121/0.003405, allocations: 67.61 kB / 0.5508 GB, free: 7.027 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002087/0.003614, allocations: 75.78 kB / 0.5508 GB, free: 6.953 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0001544/0.003768, allocations: 135.5 kB / 0.551 GB, free: 6.82 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001607/0.003929, allocations: 33.66 kB / 0.551 GB, free: 6.785 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002221/0.004151, allocations: 79.8 kB / 0.5511 GB, free: 6.707 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001093/0.00426, allocations: 51.81 kB / 0.5511 GB, free: 6.656 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 3.545e-05/0.004296, allocations: 12 kB / 0.5511 GB, free: 6.645 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 9.392e-05/0.00439, allocations: 35.86 kB / 0.5512 GB, free: 6.609 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 9.392e-05/0.004484, allocations: 51.77 kB / 0.5512 GB, free: 6.559 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 4.791e-05/0.004532, allocations: 31.86 kB / 0.5512 GB, free: 6.527 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0002871/0.004819, allocations: 151.5 kB / 0.5514 GB, free: 6.379 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.004823, allocations: 0 / 0.5514 GB, free: 6.379 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.994e-06/0.004825, allocations: 0 / 0.5514 GB, free: 6.379 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 7.564e-06/0.004833, allocations: 0 / 0.5514 GB, free: 6.379 MB / 0.5105 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.0006303/0.005463, allocations: 405.2 kB / 0.5518 GB, free: 5.953 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.909e-05/0.005512, allocations: 12.03 kB / 0.5518 GB, free: 5.941 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001802/0.005693, allocations: 36.78 kB / 0.5518 GB, free: 5.906 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002849/0.005977, allocations: 181.2 kB / 0.552 GB, free: 5.703 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.331e-05/0.005991, allocations: 8.375 kB / 0.552 GB, free: 5.695 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.106e-05/0.006002, allocations: 4.375 kB / 0.552 GB, free: 5.691 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002332/0.006235, allocations: 164.8 kB / 0.5522 GB, free: 5.516 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.006244, allocations: 4.188 kB / 0.5522 GB, free: 5.512 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.419e-05/0.006258, allocations: 4.375 kB / 0.5522 GB, free: 5.508 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.006265, allocations: 3.938 kB / 0.5522 GB, free: 5.504 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001169/0.006381, allocations: 59.94 kB / 0.5522 GB, free: 5.445 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004191/0.006801, allocations: 308.2 kB / 0.5525 GB, free: 5.113 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 8.526e-05/0.006886, allocations: 42.55 kB / 0.5526 GB, free: 5.062 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.564e-05/0.006941, allocations: 32.89 kB / 0.5526 GB, free: 5.027 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.43e-05/0.006956, allocations: 0 / 0.5526 GB, free: 5.027 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001702/0.007126, allocations: 148.4 kB / 0.5527 GB, free: 4.852 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=3): time 7.41e-07/0.007127, allocations: 0 / 0.5527 GB, free: 4.852 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3): time 0.0002707/0.007397, allocations: 125.5 kB / 0.5529 GB, free: 4.723 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.827e-05/0.007436, allocations: 77.11 kB / 0.5529 GB, free: 4.629 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001746/0.00761, allocations: 233.5 kB / 0.5531 GB, free: 4.391 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.596e-05/0.007626, allocations: 25.7 kB / 0.5532 GB, free: 4.359 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 6.358e-05/0.00769, allocations: 136 kB / 0.5533 GB, free: 4.223 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.701e-05/0.007707, allocations: 7.906 kB / 0.5533 GB, free: 4.215 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.055e-05/0.007737, allocations: 17.72 kB / 0.5533 GB, free: 4.191 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.116e-05/0.007819, allocations: 330.8 kB / 0.5536 GB, free: 3.859 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.672e-05/0.007875, allocations: 19.98 kB / 0.5537 GB, free: 3.84 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.135e-05/0.007947, allocations: 85.05 kB / 0.5537 GB, free: 3.738 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001048/0.008051, allocations: 66.52 kB / 0.5538 GB, free: 3.664 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.008054, allocations: 0 / 0.5538 GB, free: 3.664 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001453/0.008199, allocations: 105.5 kB / 0.5539 GB, free: 3.555 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.008213, allocations: 5.875 kB / 0.5539 GB, free: 3.551 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.008218, allocations: 4 kB / 0.5539 GB, free: 3.547 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.00823, allocations: 0 / 0.5539 GB, free: 3.547 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.256e-05/0.008303, allocations: 19.86 kB / 0.5539 GB, free: 3.527 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.008309, allocations: 4 kB / 0.5539 GB, free: 3.523 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.13e-05/0.00835, allocations: 11.98 kB / 0.554 GB, free: 3.512 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.083e-06/0.008357, allocations: 8.156 kB / 0.554 GB, free: 3.504 MB / 0.5105 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 8.621e-05/0.008443, allocations: 137.8 kB / 0.5541 GB, free: 3.359 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.648e-05/0.00846, allocations: 19.89 kB / 0.5541 GB, free: 3.34 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.521e-05/0.008485, allocations: 17.02 kB / 0.5541 GB, free: 3.324 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.008487, allocations: 0 / 0.5541 GB, free: 3.324 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.008492, allocations: 4 kB / 0.5541 GB, free: 3.32 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.696e-06/0.008494, allocations: 0 / 0.5541 GB, free: 3.32 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.76e-05/0.008592, allocations: 149.2 kB / 0.5543 GB, free: 3.145 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.008594, allocations: 0 / 0.5543 GB, free: 3.145 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.495e-05/0.008629, allocations: 11.98 kB / 0.5543 GB, free: 3.133 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-06/0.00863, allocations: 0 / 0.5543 GB, free: 3.133 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.927e-06/0.008639, allocations: 11.98 kB / 0.5543 GB, free: 3.121 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.00864, allocations: 0 / 0.5543 GB, free: 3.121 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.008641, allocations: 0 / 0.5543 GB, free: 3.121 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001531/0.008794, allocations: 124.9 kB / 0.5544 GB, free: 2.98 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 1.23e-05/0.008806, allocations: 11.91 kB / 0.5544 GB, free: 2.969 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.454e-05/0.008821, allocations: 4 kB / 0.5544 GB, free: 2.965 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.229e-05/0.008853, allocations: 7.984 kB / 0.5544 GB, free: 2.957 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.977e-05/0.008893, allocations: 7.984 kB / 0.5544 GB, free: 2.949 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.954e-05/0.008912, allocations: 8 kB / 0.5545 GB, free: 2.941 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001032/0.009016, allocations: 176.5 kB / 0.5546 GB, free: 2.77 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5e-08/0.009016, allocations: 0 / 0.5546 GB, free: 2.77 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0001516/0.009167, allocations: 23.95 kB / 0.5546 GB, free: 2.746 MB / 0.5105 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.000194/0.009361, allocations: 123.1 kB / 0.5548 GB, free: 2.613 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001647/0.009526, allocations: 63.75 kB / 0.5548 GB, free: 2.551 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.009529, allocations: 8 kB / 0.5548 GB, free: 2.543 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 5.208e-05/0.009581, allocations: 23.97 kB / 0.5549 GB, free: 2.52 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002079/0.009789, allocations: 38.83 kB / 0.5549 GB, free: 2.484 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004237/0.01021, allocations: 312.3 kB / 0.5552 GB, free: 2.148 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.301e-05/0.01029, allocations: 118.4 kB / 0.5553 GB, free: 2.008 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.459e-05/0.01032, allocations: 16.48 kB / 0.5553 GB, free: 1.992 MB / 0.5105 GB Notification: Performance of SimCode: time 7.42e-07/0.01032, allocations: 0 / 0.5553 GB, free: 1.992 MB / 0.5105 GB Notification: Performance of Templates: time 0.002975/0.0133, allocations: 2.179 MB / 0.5574 GB, free: 15.82 MB / 0.5261 GB " [Timeout remaining time 660] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.IO.Files.Examples.JSONWriter.makefile [Timeout 660] 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 -DOMC_BUILD -DUSE_THREAD -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins/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 5 | #include | ^~~~~~~~~~~~~~~~~~ 1 error generated. make: *** [: OMCppBuildSysPro_BuildSysPro.IBPSA.Utilities.IO.Files.Examples.JSONWriterCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 2.8217946887016296] Failed to read output from testmodel.py, exit status != 0: 0.01861022226512432 0.026714983 0.020233328000000002 Calling exit ...