Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.BooleanReplicator.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.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.BooleanReplicator") translateModel(IBPSA.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.BooleanReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000818/0.0008181, allocations: 91.95 kB / 16.33 MB, free: 6.336 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.0007864/0.0007864, allocations: 187.6 kB / 17.23 MB, free: 6.242 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.509/1.509, allocations: 223.3 MB / 241.2 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7239/0.7239, allocations: 114.4 MB / 406.7 MB, free: 4.016 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004856/0.0004857, allocations: 12 kB / 494.5 MB, free: 8.051 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1754/0.1759, allocations: 77.27 MB / 0.5583 GB, free: 10.98 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.BooleanReplicator): time 0.002123/0.1781, allocations: 1.451 MB / 0.5597 GB, free: 9.523 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001444/0.1795, allocations: 0.9369 MB / 0.5607 GB, free: 8.578 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.841e-05/0.1796, allocations: 0 / 0.5607 GB, free: 8.578 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005564/0.1802, allocations: 151.6 kB / 0.5608 GB, free: 8.43 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002264/0.1804, allocations: 95.75 kB / 0.5609 GB, free: 8.336 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003849/0.1808, allocations: 142.4 kB / 0.561 GB, free: 8.199 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002147/0.1811, allocations: 151.6 kB / 0.5612 GB, free: 8.051 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.889e-05/0.1811, allocations: 17.11 kB / 0.5612 GB, free: 8.035 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001014/0.1813, allocations: 63.7 kB / 0.5612 GB, free: 7.973 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001045/0.1814, allocations: 59.75 kB / 0.5613 GB, free: 7.914 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.008e-05/0.1814, allocations: 4 kB / 0.5613 GB, free: 7.91 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000128/0.1815, allocations: 47.97 kB / 0.5614 GB, free: 7.863 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 6.349e-05/0.1816, allocations: 39.84 kB / 0.5614 GB, free: 7.824 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.036e-05/0.1817, allocations: 45.64 kB / 0.5614 GB, free: 7.773 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002093/0.1819, allocations: 144 kB / 0.5616 GB, free: 7.633 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/0.1819, allocations: 4 kB / 0.5616 GB, free: 7.629 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.916e-06/0.1819, allocations: 0 / 0.5616 GB, free: 7.629 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.562e-06/0.1819, allocations: 0 / 0.5616 GB, free: 7.629 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0007905/0.1827, allocations: 472.3 kB / 0.562 GB, free: 7.113 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.1827, allocations: 16.02 kB / 0.562 GB, free: 7.098 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.504e-05/0.1828, allocations: 19.8 kB / 0.5621 GB, free: 7.078 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003211/0.1831, allocations: 239.6 kB / 0.5623 GB, free: 6.801 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.95e-05/0.1832, allocations: 8 kB / 0.5623 GB, free: 6.793 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.314e-05/0.1832, allocations: 8 kB / 0.5623 GB, free: 6.785 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001862/0.1834, allocations: 83.38 kB / 0.5624 GB, free: 6.691 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/0.1834, allocations: 3.953 kB / 0.5624 GB, free: 6.688 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.464e-05/0.1834, allocations: 7.984 kB / 0.5624 GB, free: 6.68 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.094e-05/0.1834, allocations: 7.984 kB / 0.5624 GB, free: 6.672 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.612e-05/0.1835, allocations: 31.92 kB / 0.5624 GB, free: 6.641 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005024/0.184, allocations: 352.7 kB / 0.5628 GB, free: 6.246 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001939/0.1842, allocations: 82.5 kB / 0.5629 GB, free: 6.156 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.739e-05/0.1843, allocations: 36.84 kB / 0.5629 GB, free: 6.117 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.081e-05/0.1844, allocations: 4 kB / 0.5629 GB, free: 6.113 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000161/0.1845, allocations: 75.39 kB / 0.563 GB, free: 6.027 MB / 430.1 MB Notification: Performance of pre-optimization done (n=10): time 1.593e-06/0.1845, allocations: 0 / 0.563 GB, free: 6.027 MB / 430.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003449/0.1849, allocations: 149.5 kB / 0.5631 GB, free: 5.875 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.801e-05/0.1849, allocations: 81.05 kB / 0.5632 GB, free: 5.777 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002947/0.1852, allocations: 259.5 kB / 0.5634 GB, free: 5.516 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.891e-05/0.1853, allocations: 29.7 kB / 0.5635 GB, free: 5.48 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.519e-05/0.1854, allocations: 124 kB / 0.5636 GB, free: 5.355 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.631e-05/0.1854, allocations: 19.73 kB / 0.5636 GB, free: 5.336 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.591e-06/0.1854, allocations: 8 kB / 0.5636 GB, free: 5.328 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001424/0.1856, allocations: 326.8 kB / 0.5639 GB, free: 5 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.011e-05/0.1856, allocations: 23.98 kB / 0.5639 GB, free: 4.977 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.457e-05/0.1857, allocations: 66.64 kB / 0.564 GB, free: 4.902 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.039e-05/0.1858, allocations: 36 kB / 0.564 GB, free: 4.867 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.1858, allocations: 0 / 0.564 GB, free: 4.867 MB / 430.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002077/0.186, allocations: 129.7 kB / 0.5642 GB, free: 4.734 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.186, allocations: 4 kB / 0.5642 GB, free: 4.73 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.186, allocations: 0 / 0.5642 GB, free: 4.73 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.134e-05/0.1861, allocations: 0 / 0.5642 GB, free: 4.73 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.005e-05/0.1861, allocations: 19.92 kB / 0.5642 GB, free: 4.711 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.079e-06/0.1862, allocations: 0 / 0.5642 GB, free: 4.711 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.445e-05/0.1862, allocations: 4 kB / 0.5642 GB, free: 4.707 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.209e-05/0.1862, allocations: 4 kB / 0.5642 GB, free: 4.703 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$PRE.booTab.combiTimeTable.nextTimeEvent,booTab.y,booTab.combiTimeTable.nextTimeEvent,$PRE.booTab.combiTimeTable.nextTimeEventScaled,booTab.combiTimeTable.nextTimeEventScaled,booRep.y[1],booRep.y[2],booRep.y[3],booRep.y[4]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * Array equations: 1 * 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.0001472/0.1864, allocations: 149.8 kB / 0.5643 GB, free: 4.547 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.763e-05/0.1864, allocations: 19.77 kB / 0.5644 GB, free: 4.527 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.083e-05/0.1865, allocations: 17.39 kB / 0.5644 GB, free: 4.508 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.616e-06/0.1865, allocations: 4 kB / 0.5644 GB, free: 4.504 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.1865, allocations: 0 / 0.5644 GB, free: 4.504 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.1865, allocations: 0 / 0.5644 GB, free: 4.504 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002194/0.1867, allocations: 229.5 kB / 0.5646 GB, free: 4.23 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.1867, allocations: 0 / 0.5646 GB, free: 4.23 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.112e-05/0.1868, allocations: 4 kB / 0.5646 GB, free: 4.227 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.823e-06/0.1868, allocations: 11.94 kB / 0.5646 GB, free: 4.215 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.105e-05/0.1868, allocations: 0 / 0.5646 GB, free: 4.215 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.1868, allocations: 3.938 kB / 0.5646 GB, free: 4.211 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.1868, allocations: 0 / 0.5646 GB, free: 4.211 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002313/0.187, allocations: 144.8 kB / 0.5647 GB, free: 4.051 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.898e-05/0.1871, allocations: 96.91 kB / 0.5648 GB, free: 3.938 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.662e-05/0.1872, allocations: 3.953 kB / 0.5648 GB, free: 3.934 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.268e-05/0.1872, allocations: 11.98 kB / 0.5649 GB, free: 3.922 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.959e-05/0.1873, allocations: 8 kB / 0.5649 GB, free: 3.914 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.086e-05/0.1873, allocations: 4 kB / 0.5649 GB, free: 3.91 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001959/0.1875, allocations: 196.4 kB / 0.5651 GB, free: 3.719 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1875, allocations: 0 / 0.5651 GB, free: 3.719 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002318/0.1877, allocations: 24 kB / 0.5651 GB, free: 3.695 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: 8 ($whenCondition1,booTab.y,booTab.combiTimeTable.nextTimeEvent,booTab.combiTimeTable.nextTimeEventScaled,booRep.y[1],booRep.y[2],booRep.y[3],booRep.y[4]) * Number of discrete states: 2 (booTab.combiTimeTable.nextTimeEventScaled,booTab.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001035/0.1888, allocations: 429.9 kB / 0.5655 GB, free: 3.434 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000206/0.189, allocations: 75.91 kB / 0.5656 GB, free: 3.359 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.189, allocations: 0 / 0.5656 GB, free: 3.359 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.995e-05/0.1891, allocations: 39.92 kB / 0.5656 GB, free: 3.32 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002639/0.1894, allocations: 27.98 kB / 0.5656 GB, free: 3.293 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005914/0.19, allocations: 359.8 kB / 0.566 GB, free: 2.914 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003959/0.1904, allocations: 0.7243 MB / 0.5667 GB, free: 2.164 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.342e-05/0.1904, allocations: 19.44 kB / 0.5667 GB, free: 2.145 MB / 430.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1905, allocations: 0 / 0.5667 GB, free: 2.145 MB / 430.1 MB Notification: Performance of Templates: time 0.004861/0.1953, allocations: 2.525 MB / 0.5692 GB, free: 15.63 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.BooleanReplicator.makefile make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.BooleanReplicator.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 OMCppIBPSA_latest_IBPSA.Utilities.Math.Examples.BooleanReplicatorCalcHelperMain.o OMCppIBPSA_latest_IBPSA.Utilities.Math.Examples.BooleanReplicatorCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIBPSA_latest_IBPSA.Utilities.Math.Examples.BooleanReplicatorCalcHelperMain.o] Error 1