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.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/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.00108/0.00108, allocations: 102.7 kB / 15.71 MB, free: 460 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.001453/0.001453, allocations: 176.4 kB / 16.58 MB, free: 6.863 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.532/1.532, allocations: 223.2 MB / 240.6 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.057/1.057, allocations: 143.4 MB / 435.1 MB, free: 13.62 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000351/0.0003513, allocations: 15.98 kB / 0.5166 GB, free: 11.27 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2229/0.2233, allocations: 83.4 MB / 0.5981 GB, free: 7.805 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.IO.Files.Examples.JSONWriter): time 0.002215/0.2256, allocations: 1.33 MB / 0.5994 GB, free: 6.461 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.000929/0.2265, allocations: 0.507 MB / 0.5998 GB, free: 5.949 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.92e-05/0.2266, allocations: 0 / 0.5998 GB, free: 5.949 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002062/0.2269, allocations: 23.86 kB / 0.5999 GB, free: 5.926 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002659/0.2271, allocations: 55.73 kB / 0.5999 GB, free: 5.871 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001436/0.2273, allocations: 55.94 kB / 0.6 GB, free: 5.816 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001944/0.2275, allocations: 115.5 kB / 0.6001 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001831/0.2277, allocations: 41.39 kB / 0.6001 GB, free: 5.66 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001174/0.2278, allocations: 43.78 kB / 0.6002 GB, free: 5.617 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001139/0.2279, allocations: 51.77 kB / 0.6002 GB, free: 5.566 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.517e-05/0.228, allocations: 4 kB / 0.6002 GB, free: 5.562 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.072e-05/0.228, allocations: 19.94 kB / 0.6002 GB, free: 5.543 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.447e-05/0.2281, allocations: 39.89 kB / 0.6003 GB, free: 5.504 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.805e-05/0.2282, allocations: 37.64 kB / 0.6003 GB, free: 5.461 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001772/0.2284, allocations: 112 kB / 0.6004 GB, free: 5.352 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 8.225e-06/0.2284, allocations: 3.938 kB / 0.6004 GB, free: 5.348 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.725e-06/0.2284, allocations: 0 / 0.6004 GB, free: 5.348 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.44e-06/0.2284, allocations: 0 / 0.6004 GB, free: 5.348 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.0007126/0.2291, allocations: 454.6 kB / 0.6009 GB, free: 4.855 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.568e-05/0.2292, allocations: 11.97 kB / 0.6009 GB, free: 4.844 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.007e-05/0.2292, allocations: 15.81 kB / 0.6009 GB, free: 4.828 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000305/0.2295, allocations: 231.6 kB / 0.6011 GB, free: 4.559 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.75e-05/0.2296, allocations: 8 kB / 0.6011 GB, free: 4.551 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.52e-05/0.2296, allocations: 4 kB / 0.6011 GB, free: 4.547 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002921/0.2299, allocations: 109.6 kB / 0.6012 GB, free: 4.434 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.2299, allocations: 0 / 0.6012 GB, free: 4.434 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.437e-05/0.2299, allocations: 8 kB / 0.6012 GB, free: 4.426 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.2299, allocations: 0 / 0.6012 GB, free: 4.426 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002206/0.2302, allocations: 79.92 kB / 0.6013 GB, free: 4.348 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006809/0.2309, allocations: 400.4 kB / 0.6017 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001419/0.231, allocations: 42.55 kB / 0.6017 GB, free: 3.855 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001563/0.2312, allocations: 36.91 kB / 0.6018 GB, free: 3.816 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.327e-05/0.2312, allocations: 7.891 kB / 0.6018 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003263/0.2315, allocations: 109.1 kB / 0.6019 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.2316, allocations: 0 / 0.6019 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0004401/0.232, allocations: 145.4 kB / 0.602 GB, free: 3.535 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.674e-05/0.2321, allocations: 77.11 kB / 0.6021 GB, free: 3.441 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002755/0.2324, allocations: 257 kB / 0.6023 GB, free: 3.184 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.31e-05/0.2324, allocations: 29.69 kB / 0.6024 GB, free: 3.148 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.875e-05/0.2325, allocations: 128 kB / 0.6025 GB, free: 3.02 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.046e-05/0.2325, allocations: 3.906 kB / 0.6025 GB, free: 3.016 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.369e-06/0.2325, allocations: 0 / 0.6025 GB, free: 3.016 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001508/0.2327, allocations: 330.8 kB / 0.6028 GB, free: 2.684 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001093/0.2328, allocations: 31.98 kB / 0.6028 GB, free: 2.652 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001105/0.2329, allocations: 55.41 kB / 0.6029 GB, free: 2.586 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001042/0.233, allocations: 39.94 kB / 0.6029 GB, free: 2.547 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.2331, allocations: 4 kB / 0.6029 GB, free: 2.543 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002644/0.2333, allocations: 121.3 kB / 0.603 GB, free: 2.418 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/0.2334, allocations: 4 kB / 0.603 GB, free: 2.414 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/0.2334, allocations: 4 kB / 0.6031 GB, free: 2.41 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.2334, allocations: 0 / 0.6031 GB, free: 2.41 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001167/0.2335, allocations: 20.08 kB / 0.6031 GB, free: 2.391 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.147e-05/0.2335, allocations: 7.922 kB / 0.6031 GB, free: 2.383 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.063e-05/0.2336, allocations: 19.89 kB / 0.6031 GB, free: 2.363 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.799e-06/0.2336, allocations: 0 / 0.6031 GB, free: 2.363 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001218/0.2338, allocations: 130.1 kB / 0.6032 GB, free: 2.227 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.728e-05/0.2338, allocations: 19.77 kB / 0.6032 GB, free: 2.207 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.298e-05/0.2338, allocations: 29.16 kB / 0.6033 GB, free: 2.176 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.796e-06/0.2339, allocations: 0 / 0.6033 GB, free: 2.176 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.2339, allocations: 4 kB / 0.6033 GB, free: 2.172 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.2339, allocations: 0 / 0.6033 GB, free: 2.172 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001917/0.2341, allocations: 209.6 kB / 0.6035 GB, free: 1.918 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.2341, allocations: 0 / 0.6035 GB, free: 1.918 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.53e-05/0.2342, allocations: 15.98 kB / 0.6035 GB, free: 1.902 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.2342, allocations: 0 / 0.6035 GB, free: 1.902 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.367e-05/0.2342, allocations: 7.938 kB / 0.6035 GB, free: 1.895 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.2342, allocations: 4 kB / 0.6035 GB, free: 1.891 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.2342, allocations: 0 / 0.6035 GB, free: 1.891 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002756/0.2345, allocations: 144.8 kB / 0.6036 GB, free: 1.73 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.639e-05/0.2346, allocations: 92.91 kB / 0.6037 GB, free: 1.621 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.104e-05/0.2346, allocations: 0 / 0.6037 GB, free: 1.621 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.874e-05/0.2347, allocations: 23.94 kB / 0.6037 GB, free: 1.598 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.494e-05/0.2347, allocations: 0 / 0.6037 GB, free: 1.598 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.975e-05/0.2348, allocations: 11.98 kB / 0.6038 GB, free: 1.586 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001752/0.2349, allocations: 184.5 kB / 0.6039 GB, free: 1.406 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.235, allocations: 4 kB / 0.6039 GB, free: 1.402 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002226/0.2352, allocations: 31.83 kB / 0.604 GB, free: 1.371 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003066/0.2355, allocations: 109.7 kB / 0.6041 GB, free: 1.262 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002859/0.2358, allocations: 79.88 kB / 0.6042 GB, free: 1.184 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.2358, allocations: 0 / 0.6042 GB, free: 1.184 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000109/0.2359, allocations: 36.16 kB / 0.6042 GB, free: 1.148 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003071/0.2362, allocations: 53.2 kB / 0.6042 GB, free: 1.105 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005943/0.2368, allocations: 339.8 kB / 0.6046 GB, free: 0.7305 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.341/0.5778, allocations: 0.7238 MB / 0.6053 GB, free: 40.41 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.521e-05/0.578, allocations: 10.62 kB / 0.6053 GB, free: 40.4 MB / 0.4981 GB Notification: Performance of SimCode: time 7.72e-07/0.578, allocations: 3.812 kB / 0.6053 GB, free: 40.4 MB / 0.4981 GB Notification: Performance of Templates: time 0.004227/0.5822, allocations: 2.113 MB / 0.6073 GB, free: 40.33 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++ NOTFOUND -Winvalid-pch -O0 -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/c/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 clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildSysPro_BuildSysPro.IBPSA.Utilities.IO.Files.Examples.JSONWriterCalcHelperMain.o] Error 1