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.0009881/0.0009883, allocations: 91.92 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00111/0.00111, allocations: 179.3 kB / 16.92 MB, free: 6.652 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.377/1.377, allocations: 223.3 MB / 241 MB, free: 5.285 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.9942/0.9942, allocations: 143.2 MB / 435.3 MB, free: 13.62 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000315/0.0003151, allocations: 8 kB / 0.517 GB, free: 11.16 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1507/0.151, allocations: 83.42 MB / 0.5985 GB, free: 7.703 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.IO.Files.Examples.JSONWriter): time 0.001819/0.1529, allocations: 1.35 MB / 0.5998 GB, free: 6.34 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0007635/0.1537, allocations: 0.5184 MB / 0.6003 GB, free: 5.816 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.507e-05/0.1537, allocations: 3.938 kB / 0.6003 GB, free: 5.812 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001472/0.1539, allocations: 27.84 kB / 0.6004 GB, free: 5.785 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002098/0.1541, allocations: 63.69 kB / 0.6004 GB, free: 5.723 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001415/0.1543, allocations: 59.88 kB / 0.6005 GB, free: 5.664 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001621/0.1544, allocations: 123.6 kB / 0.6006 GB, free: 5.543 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001415/0.1546, allocations: 45.47 kB / 0.6006 GB, free: 5.496 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001031/0.1547, allocations: 43.72 kB / 0.6007 GB, free: 5.453 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.63e-05/0.1548, allocations: 55.7 kB / 0.6007 GB, free: 5.398 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.97e-05/0.1548, allocations: 4 kB / 0.6007 GB, free: 5.395 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 5.137e-05/0.1549, allocations: 16 kB / 0.6008 GB, free: 5.379 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.369e-05/0.155, allocations: 43.77 kB / 0.6008 GB, free: 5.336 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 6.131e-05/0.155, allocations: 73.31 kB / 0.6009 GB, free: 5.258 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001467/0.1552, allocations: 104 kB / 0.601 GB, free: 5.156 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.1552, allocations: 4 kB / 0.601 GB, free: 5.152 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.563e-06/0.1552, allocations: 4 kB / 0.601 GB, free: 5.148 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.438e-06/0.1552, allocations: 0 / 0.601 GB, free: 5.148 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.0005621/0.1558, allocations: 450.7 kB / 0.6014 GB, free: 4.66 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.394e-05/0.1558, allocations: 8.031 kB / 0.6014 GB, free: 4.652 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.476e-05/0.1559, allocations: 20.75 kB / 0.6014 GB, free: 4.633 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002268/0.1561, allocations: 228.9 kB / 0.6017 GB, free: 4.367 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.123e-05/0.1561, allocations: 8.375 kB / 0.6017 GB, free: 4.359 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.3e-05/0.1562, allocations: 4.375 kB / 0.6017 GB, free: 4.355 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002835/0.1564, allocations: 124.9 kB / 0.6018 GB, free: 4.23 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.422e-06/0.1565, allocations: 0 / 0.6018 GB, free: 4.23 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.744e-05/0.1565, allocations: 4 kB / 0.6018 GB, free: 4.227 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.546e-06/0.1565, allocations: 4 kB / 0.6018 GB, free: 4.223 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002445/0.1568, allocations: 79.94 kB / 0.6019 GB, free: 4.145 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005645/0.1573, allocations: 392.4 kB / 0.6022 GB, free: 3.711 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001434/0.1575, allocations: 54.47 kB / 0.6023 GB, free: 3.648 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001169/0.1576, allocations: 36.89 kB / 0.6023 GB, free: 3.609 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.462e-05/0.1576, allocations: 0 / 0.6023 GB, free: 3.609 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002643/0.1579, allocations: 105.1 kB / 0.6024 GB, free: 3.488 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.1579, allocations: 0 / 0.6024 GB, free: 3.488 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0004659/0.1584, allocations: 149.3 kB / 0.6026 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.695e-05/0.1584, allocations: 81.05 kB / 0.6026 GB, free: 3.238 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000244/0.1587, allocations: 260.9 kB / 0.6029 GB, free: 2.977 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.623e-05/0.1587, allocations: 25.7 kB / 0.6029 GB, free: 2.945 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.966e-05/0.1588, allocations: 124.1 kB / 0.603 GB, free: 2.82 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.013e-05/0.1588, allocations: 19.8 kB / 0.6031 GB, free: 2.801 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.591e-05/0.1589, allocations: 13.72 kB / 0.6031 GB, free: 2.781 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001189/0.159, allocations: 326.8 kB / 0.6034 GB, free: 2.453 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001205/0.1591, allocations: 31.97 kB / 0.6034 GB, free: 2.422 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001358/0.1592, allocations: 59.41 kB / 0.6035 GB, free: 2.352 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002297/0.1595, allocations: 82.5 kB / 0.6035 GB, free: 2.262 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.1595, allocations: 0 / 0.6035 GB, free: 2.262 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002996/0.1598, allocations: 121.4 kB / 0.6037 GB, free: 2.137 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/0.1598, allocations: 4 kB / 0.6037 GB, free: 2.133 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.888e-06/0.1598, allocations: 0 / 0.6037 GB, free: 2.133 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.1599, allocations: 7.938 kB / 0.6037 GB, free: 2.125 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001073/0.16, allocations: 11.98 kB / 0.6037 GB, free: 2.113 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.16, allocations: 8.094 kB / 0.6037 GB, free: 2.105 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.366e-05/0.1601, allocations: 15.98 kB / 0.6037 GB, free: 2.09 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.614e-06/0.1601, allocations: 0 / 0.6037 GB, free: 2.09 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 9.917e-05/0.1602, allocations: 130.5 kB / 0.6038 GB, free: 1.953 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.353e-05/0.1602, allocations: 15.81 kB / 0.6039 GB, free: 1.938 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.372e-05/0.1603, allocations: 17.23 kB / 0.6039 GB, free: 1.918 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.1603, allocations: 3.938 kB / 0.6039 GB, free: 1.914 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.1603, allocations: 4 kB / 0.6039 GB, free: 1.91 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.1603, allocations: 3.938 kB / 0.6039 GB, free: 1.906 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001668/0.1605, allocations: 221.6 kB / 0.6041 GB, free: 1.641 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.1605, allocations: 0 / 0.6041 GB, free: 1.641 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.387e-05/0.1606, allocations: 15.98 kB / 0.6041 GB, free: 1.625 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.512e-06/0.1606, allocations: 0 / 0.6041 GB, free: 1.625 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.602e-06/0.1606, allocations: 0 / 0.6041 GB, free: 1.625 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/0.1606, allocations: 3.938 kB / 0.6041 GB, free: 1.621 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1606, allocations: 0 / 0.6041 GB, free: 1.621 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003077/0.1609, allocations: 144.8 kB / 0.6042 GB, free: 1.461 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.407e-05/0.161, allocations: 104.8 kB / 0.6043 GB, free: 1.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.388e-05/0.161, allocations: 4 kB / 0.6044 GB, free: 1.336 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.887e-05/0.1611, allocations: 19.86 kB / 0.6044 GB, free: 1.316 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.991e-05/0.1612, allocations: 7.984 kB / 0.6044 GB, free: 1.309 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.038e-05/0.1612, allocations: 4 kB / 0.6044 GB, free: 1.305 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001677/0.1614, allocations: 192.5 kB / 0.6046 GB, free: 1.117 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.573e-06/0.1614, allocations: 0 / 0.6046 GB, free: 1.117 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002138/0.1616, allocations: 19.94 kB / 0.6046 GB, free: 1.098 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.000203/0.1618, allocations: 117.8 kB / 0.6047 GB, free: 0.9766 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002849/0.1621, allocations: 71.95 kB / 0.6048 GB, free: 0.9062 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.1621, allocations: 0 / 0.6048 GB, free: 0.9062 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001256/0.1622, allocations: 40.09 kB / 0.6048 GB, free: 0.8672 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002789/0.1625, allocations: 36.41 kB / 0.6048 GB, free: 0.832 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005594/0.1631, allocations: 368 kB / 0.6052 GB, free: 440 kB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2436/0.4067, allocations: 0.7144 MB / 0.6059 GB, free: 40.46 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.187e-05/0.4068, allocations: 15 kB / 0.6059 GB, free: 40.45 MB / 0.4981 GB Notification: Performance of SimCode: time 1.082e-06/0.4068, allocations: 0 / 0.6059 GB, free: 40.45 MB / 0.4981 GB Notification: Performance of Templates: time 0.003787/0.4106, allocations: 2.113 MB / 0.608 GB, free: 40.38 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++ -std=c++14 -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