Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.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(IBPSA.Utilities.IO.Files.Examples.JSONWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.JSONWriter") translateModel(IBPSA.Utilities.IO.Files.Examples.JSONWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_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.001113/0.001113, allocations: 94.86 kB / 16.33 MB, free: 5.953 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.001353/0.001353, allocations: 186.7 kB / 17.23 MB, free: 5.887 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.571/1.571, allocations: 223.3 MB / 241.2 MB, free: 5.266 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7917/0.7917, allocations: 114.4 MB / 406.7 MB, free: 3.898 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005691/0.0005694, allocations: 8 kB / 494.4 MB, free: 8 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2051/0.2057, allocations: 77.27 MB / 0.5583 GB, free: 10.93 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.Files.Examples.JSONWriter): time 0.002111/0.2078, allocations: 1.325 MB / 0.5596 GB, free: 9.602 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001018/0.2089, allocations: 0.507 MB / 0.5601 GB, free: 9.09 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.972e-05/0.209, allocations: 4 kB / 0.5601 GB, free: 9.086 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001992/0.2092, allocations: 19.86 kB / 0.5601 GB, free: 9.066 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000247/0.2094, allocations: 55.75 kB / 0.5602 GB, free: 9.012 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001412/0.2096, allocations: 55.92 kB / 0.5602 GB, free: 8.957 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001889/0.2098, allocations: 115.6 kB / 0.5603 GB, free: 8.844 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000179/0.21, allocations: 41.44 kB / 0.5604 GB, free: 8.801 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001107/0.2101, allocations: 39.8 kB / 0.5604 GB, free: 8.762 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001076/0.2102, allocations: 59.69 kB / 0.5605 GB, free: 8.703 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.424e-05/0.2102, allocations: 4 kB / 0.5605 GB, free: 8.699 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.932e-05/0.2103, allocations: 19.94 kB / 0.5605 GB, free: 8.68 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 8.695e-05/0.2104, allocations: 31.89 kB / 0.5605 GB, free: 8.648 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.415e-05/0.2105, allocations: 45.64 kB / 0.5606 GB, free: 8.598 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001628/0.2106, allocations: 103.9 kB / 0.5607 GB, free: 8.496 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.284e-06/0.2106, allocations: 3.984 kB / 0.5607 GB, free: 8.492 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.744e-06/0.2107, allocations: 4 kB / 0.5607 GB, free: 8.488 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.651e-06/0.2107, allocations: 0 / 0.5607 GB, free: 8.488 MB / 430.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.0006516/0.2113, allocations: 438.7 kB / 0.5611 GB, free: 8.012 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.559e-05/0.2114, allocations: 16.02 kB / 0.5611 GB, free: 7.996 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.941e-05/0.2115, allocations: 19.72 kB / 0.5611 GB, free: 7.977 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002776/0.2117, allocations: 231.6 kB / 0.5614 GB, free: 7.707 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.499e-05/0.2118, allocations: 4 kB / 0.5614 GB, free: 7.703 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.625e-05/0.2118, allocations: 4 kB / 0.5614 GB, free: 7.699 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000283/0.2121, allocations: 117.6 kB / 0.5615 GB, free: 7.578 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.2121, allocations: 3.953 kB / 0.5615 GB, free: 7.574 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.991e-05/0.2121, allocations: 0 / 0.5615 GB, free: 7.574 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-06/0.2121, allocations: 4 kB / 0.5615 GB, free: 7.57 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002314/0.2124, allocations: 83.94 kB / 0.5616 GB, free: 7.488 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006152/0.213, allocations: 392.4 kB / 0.5619 GB, free: 7.055 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001444/0.2131, allocations: 46.55 kB / 0.562 GB, free: 7 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001074/0.2133, allocations: 40.89 kB / 0.562 GB, free: 6.957 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.997e-05/0.2133, allocations: 3.938 kB / 0.562 GB, free: 6.953 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002665/0.2136, allocations: 97.09 kB / 0.5621 GB, free: 6.84 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.2136, allocations: 4 kB / 0.5621 GB, free: 6.836 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.0004293/0.214, allocations: 145.4 kB / 0.5623 GB, free: 6.688 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.88e-05/0.2141, allocations: 77.11 kB / 0.5623 GB, free: 6.594 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000283/0.2144, allocations: 252.9 kB / 0.5626 GB, free: 6.34 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.071e-05/0.2144, allocations: 25.7 kB / 0.5626 GB, free: 6.309 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.456e-05/0.2145, allocations: 132 kB / 0.5627 GB, free: 6.176 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.225e-05/0.2145, allocations: 15.88 kB / 0.5627 GB, free: 6.16 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.328e-06/0.2145, allocations: 0 / 0.5627 GB, free: 6.16 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001537/0.2147, allocations: 330.8 kB / 0.5631 GB, free: 5.828 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001043/0.2148, allocations: 31.97 kB / 0.5631 GB, free: 5.797 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001183/0.2149, allocations: 63.58 kB / 0.5631 GB, free: 5.723 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001038/0.215, allocations: 27.98 kB / 0.5632 GB, free: 5.695 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.215, allocations: 0 / 0.5632 GB, free: 5.695 MB / 430.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002677/0.2153, allocations: 121.4 kB / 0.5633 GB, free: 5.57 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.2153, allocations: 5.094 kB / 0.5633 GB, free: 5.566 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.865e-05/0.2154, allocations: 0 / 0.5633 GB, free: 5.566 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.222e-05/0.2154, allocations: 11.98 kB / 0.5633 GB, free: 5.555 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001172/0.2155, allocations: 20.02 kB / 0.5633 GB, free: 5.535 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/0.2155, allocations: 7.938 kB / 0.5633 GB, free: 5.527 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.02e-05/0.2156, allocations: 19.92 kB / 0.5634 GB, free: 5.508 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.265e-06/0.2156, allocations: 0 / 0.5634 GB, free: 5.508 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001253/0.2158, allocations: 133.8 kB / 0.5635 GB, free: 5.367 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.656e-05/0.2158, allocations: 19.72 kB / 0.5635 GB, free: 5.348 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.736e-05/0.2159, allocations: 17.25 kB / 0.5635 GB, free: 5.328 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.2159, allocations: 0 / 0.5635 GB, free: 5.328 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.2159, allocations: 0 / 0.5635 GB, free: 5.328 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.2159, allocations: 0 / 0.5635 GB, free: 5.328 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001904/0.2161, allocations: 221.5 kB / 0.5637 GB, free: 5.062 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.2161, allocations: 0 / 0.5637 GB, free: 5.062 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.802e-05/0.2162, allocations: 19.98 kB / 0.5637 GB, free: 5.043 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.2162, allocations: 0 / 0.5637 GB, free: 5.043 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.973e-06/0.2162, allocations: 0 / 0.5637 GB, free: 5.043 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.2162, allocations: 4 kB / 0.5637 GB, free: 5.039 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.2162, allocations: 0 / 0.5637 GB, free: 5.039 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002835/0.2165, allocations: 140.8 kB / 0.5639 GB, free: 4.883 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.37e-05/0.2166, allocations: 100.9 kB / 0.564 GB, free: 4.766 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.211e-05/0.2166, allocations: 0 / 0.564 GB, free: 4.766 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.688e-05/0.2167, allocations: 11.98 kB / 0.564 GB, free: 4.754 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.607e-05/0.2167, allocations: 7.984 kB / 0.564 GB, free: 4.746 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.2e-05/0.2168, allocations: 4 kB / 0.564 GB, free: 4.742 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001812/0.2169, allocations: 188.5 kB / 0.5642 GB, free: 4.559 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2169, allocations: 4 kB / 0.5642 GB, free: 4.555 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002175/0.2172, allocations: 23.94 kB / 0.5642 GB, free: 4.531 MB / 430.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 (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.0002614/0.2174, allocations: 113.2 kB / 0.5643 GB, free: 4.418 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002731/0.2177, allocations: 71.89 kB / 0.5644 GB, free: 4.348 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.103e-06/0.2177, allocations: 0 / 0.5644 GB, free: 4.348 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001275/0.2179, allocations: 40.16 kB / 0.5644 GB, free: 4.309 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002896/0.2182, allocations: 36.36 kB / 0.5645 GB, free: 4.273 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006167/0.2188, allocations: 355.9 kB / 0.5648 GB, free: 3.891 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003509/0.2192, allocations: 0.7238 MB / 0.5655 GB, free: 3.141 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.063e-05/0.2192, allocations: 11.44 kB / 0.5655 GB, free: 3.129 MB / 430.1 MB Notification: Performance of SimCode: time 3.81e-07/0.2192, allocations: 8 kB / 0.5655 GB, free: 3.121 MB / 430.1 MB Notification: Performance of Templates: time 0.004448/0.2237, allocations: 2.088 MB / 0.5676 GB, free: 1.051 MB / 430.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.JSONWriter.makefile make -j1 -f IBPSA_latest_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/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppIBPSA_latest_IBPSA.Utilities.IO.Files.Examples.JSONWriterCalcHelperMain.o OMCppIBPSA_latest_IBPSA.Utilities.IO.Files.Examples.JSONWriterCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIBPSA_latest_IBPSA.Utilities.IO.Files.Examples.JSONWriterCalcHelperMain.o] Error 1