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.001626/0.001626, allocations: 107 kB / 15.99 MB, free: 6.359 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.001841/0.001841, allocations: 191.2 kB / 16.91 MB, free: 6.195 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.375/1.375, allocations: 222.9 MB / 240.6 MB, free: 13.73 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.8249/0.8249, allocations: 143.1 MB / 433.8 MB, free: 12.22 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001147/0.001147, allocations: 63.91 kB / 0.5143 GB, free: 15.52 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3162/0.3173, allocations: 82.03 MB / 0.5944 GB, free: 16.4 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.IO.Files.Examples.JSONWriter): time 0.002345/0.3197, allocations: 1.692 MB / 0.5961 GB, free: 14.71 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006532/0.3204, allocations: 0.5402 MB / 0.5966 GB, free: 14.16 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.133e-05/0.3205, allocations: 4 kB / 0.5966 GB, free: 14.16 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001636/0.3207, allocations: 24.73 kB / 0.5966 GB, free: 14.14 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001952/0.3209, allocations: 60.14 kB / 0.5967 GB, free: 14.08 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001231/0.321, allocations: 55.94 kB / 0.5968 GB, free: 14.03 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001354/0.3211, allocations: 128.1 kB / 0.5969 GB, free: 13.9 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001274/0.3213, allocations: 52.75 kB / 0.5969 GB, free: 13.85 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.567e-05/0.3214, allocations: 59.7 kB / 0.597 GB, free: 13.79 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.707e-05/0.3215, allocations: 68.56 kB / 0.597 GB, free: 13.73 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.138e-05/0.3215, allocations: 8 kB / 0.5971 GB, free: 13.72 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.54e-05/0.3215, allocations: 16 kB / 0.5971 GB, free: 13.7 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.914e-05/0.3216, allocations: 50.39 kB / 0.5971 GB, free: 13.66 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.334e-05/0.3217, allocations: 55.61 kB / 0.5972 GB, free: 13.6 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001195/0.3218, allocations: 105.7 kB / 0.5973 GB, free: 13.5 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.3218, allocations: 0 / 0.5973 GB, free: 13.5 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.3218, allocations: 0 / 0.5973 GB, free: 13.5 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.2e-06/0.3218, allocations: 4 kB / 0.5973 GB, free: 13.5 MB / 446.1 MB 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.0004845/0.3223, allocations: 468.8 kB / 0.5977 GB, free: 12.99 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.101e-05/0.3223, allocations: 12.03 kB / 0.5977 GB, free: 12.98 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.582e-05/0.3224, allocations: 16.75 kB / 0.5978 GB, free: 12.96 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001788/0.3226, allocations: 236.7 kB / 0.598 GB, free: 12.7 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.273e-05/0.3226, allocations: 9.875 kB / 0.598 GB, free: 12.69 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.182e-05/0.3226, allocations: 4.375 kB / 0.598 GB, free: 12.68 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002323/0.3229, allocations: 114.5 kB / 0.5981 GB, free: 12.57 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.837e-06/0.3229, allocations: 1.5 kB / 0.5981 GB, free: 12.57 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.294e-05/0.3229, allocations: 3.984 kB / 0.5981 GB, free: 12.56 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.3229, allocations: 0 / 0.5981 GB, free: 12.56 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001969/0.3231, allocations: 65.44 kB / 0.5982 GB, free: 12.5 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004597/0.3236, allocations: 386.5 kB / 0.5985 GB, free: 12.07 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001152/0.3237, allocations: 47.77 kB / 0.5986 GB, free: 12.02 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.907e-05/0.3238, allocations: 20.91 kB / 0.5986 GB, free: 12 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.676e-05/0.3238, allocations: 4.844 kB / 0.5986 GB, free: 11.99 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002253/0.324, allocations: 102.5 kB / 0.5987 GB, free: 11.88 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.253e-06/0.3241, allocations: 4.906 kB / 0.5987 GB, free: 11.87 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003759/0.3244, allocations: 118.6 kB / 0.5988 GB, free: 11.75 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.358e-05/0.3245, allocations: 78.61 kB / 0.5989 GB, free: 11.66 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000176/0.3247, allocations: 260.9 kB / 0.5991 GB, free: 11.39 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.22e-05/0.3247, allocations: 25.7 kB / 0.5992 GB, free: 11.36 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.755e-05/0.3247, allocations: 132.7 kB / 0.5993 GB, free: 11.23 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.549e-05/0.3248, allocations: 5.094 kB / 0.5993 GB, free: 11.23 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.176e-05/0.3248, allocations: 25.7 kB / 0.5993 GB, free: 11.2 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.809e-05/0.3249, allocations: 329.5 kB / 0.5996 GB, free: 10.87 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.833e-05/0.325, allocations: 19.97 kB / 0.5997 GB, free: 10.85 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.759e-05/0.3251, allocations: 52.75 kB / 0.5997 GB, free: 10.79 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001729/0.3252, allocations: 68 kB / 0.5998 GB, free: 10.71 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.3252, allocations: 1.344 kB / 0.5998 GB, free: 10.71 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002268/0.3255, allocations: 102.3 kB / 0.5999 GB, free: 10.61 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/0.3255, allocations: 5.219 kB / 0.5999 GB, free: 10.6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.3255, allocations: 0 / 0.5999 GB, free: 10.6 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.3255, allocations: 7.938 kB / 0.5999 GB, free: 10.59 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001011/0.3256, allocations: 13.33 kB / 0.5999 GB, free: 10.58 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.3256, allocations: 0 / 0.5999 GB, free: 10.58 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.05e-05/0.3257, allocations: 21.27 kB / 0.5999 GB, free: 10.56 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.304e-06/0.3258, allocations: 3.984 kB / 0.5999 GB, free: 10.56 MB / 446.1 MB 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 6.59e-05/0.3258, allocations: 129.8 kB / 0.6 GB, free: 10.42 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.317e-05/0.3259, allocations: 17.12 kB / 0.6001 GB, free: 10.41 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.743e-05/0.3259, allocations: 21.23 kB / 0.6001 GB, free: 10.39 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.3259, allocations: 3.938 kB / 0.6001 GB, free: 10.38 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.646e-06/0.3259, allocations: 1.312 kB / 0.6001 GB, free: 10.38 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.3259, allocations: 4 kB / 0.6001 GB, free: 10.38 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001028/0.326, allocations: 213.6 kB / 0.6003 GB, free: 10.12 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.326, allocations: 3.984 kB / 0.6003 GB, free: 10.12 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.519e-05/0.3261, allocations: 12.83 kB / 0.6003 GB, free: 10.11 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.3261, allocations: 1.156 kB / 0.6003 GB, free: 10.11 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.175e-06/0.3261, allocations: 0 / 0.6003 GB, free: 10.11 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.3261, allocations: 7.875 kB / 0.6003 GB, free: 10.1 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.3261, allocations: 5.531 kB / 0.6003 GB, free: 10.09 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002301/0.3264, allocations: 114.2 kB / 0.6004 GB, free: 9.965 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.753e-05/0.3264, allocations: 88.92 kB / 0.6005 GB, free: 9.859 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.368e-05/0.3264, allocations: 5.344 kB / 0.6005 GB, free: 9.855 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.197e-05/0.3265, allocations: 15.92 kB / 0.6005 GB, free: 9.84 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.405e-05/0.3266, allocations: 11.92 kB / 0.6006 GB, free: 9.828 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.9e-05/0.3266, allocations: 5.469 kB / 0.6006 GB, free: 9.824 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001138/0.3267, allocations: 192.4 kB / 0.6007 GB, free: 9.633 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3267, allocations: 0 / 0.6007 GB, free: 9.633 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000225/0.3269, allocations: 25.19 kB / 0.6008 GB, free: 9.609 MB / 446.1 MB 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.0001824/0.3271, allocations: 120.8 kB / 0.6009 GB, free: 9.492 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002668/0.3274, allocations: 61.31 kB / 0.6009 GB, free: 9.434 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.3274, allocations: 1.344 kB / 0.6009 GB, free: 9.434 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 9.791e-05/0.3275, allocations: 27.98 kB / 0.601 GB, free: 9.406 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002794/0.3278, allocations: 48.78 kB / 0.601 GB, free: 9.363 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000409/0.3282, allocations: 355 kB / 0.6014 GB, free: 8.988 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001212/0.3284, allocations: 0.7185 MB / 0.6021 GB, free: 8.246 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.68e-05/0.3284, allocations: 19.44 kB / 0.6021 GB, free: 8.227 MB / 446.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3284, allocations: 0 / 0.6021 GB, free: 8.227 MB / 446.1 MB Notification: Performance of Templates: time 0.00304/0.3314, allocations: 2.138 MB / 0.6042 GB, free: 6.148 MB / 446.1 MB 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