Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.BooleanReplicator") translateModel(BuildingSystems.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001932/0.001932, allocations: 100.1 kB / 15.88 MB, free: 8 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.002908/0.002908, allocations: 195.3 kB / 16.79 MB, free: 6.828 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.838/2.838, allocations: 222.9 MB / 240.5 MB, free: 4.645 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00302/0.003019, allocations: 278.9 kB / 290.9 MB, free: 2.266 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.904/1.904, allocations: 169.2 MB / 0.4983 GB, free: 14.2 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003519/0.003519, allocations: 93.25 kB / 0.5951 GB, free: 28.49 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4199/0.4234, allocations: 86.98 MB / 0.6801 GB, free: 1.246 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BooleanReplicator): time 0.007539/0.4311, allocations: 1.832 MB / 0.6819 GB, free: 15.41 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003186/0.4343, allocations: 1.01 MB / 0.6829 GB, free: 14.39 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002408/0.4346, allocations: 7.938 kB / 0.6829 GB, free: 14.39 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001262/0.436, allocations: 153.5 kB / 0.683 GB, free: 14.24 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000642/0.4367, allocations: 95.75 kB / 0.6831 GB, free: 14.14 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001178/0.4378, allocations: 158.6 kB / 0.6832 GB, free: 13.99 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005725/0.4384, allocations: 163.6 kB / 0.6834 GB, free: 13.83 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002749/0.4387, allocations: 29.08 kB / 0.6834 GB, free: 13.8 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003402/0.4391, allocations: 63.72 kB / 0.6835 GB, free: 13.74 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003166/0.4395, allocations: 59.75 kB / 0.6835 GB, free: 13.68 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.012e-05/0.4395, allocations: 4 kB / 0.6836 GB, free: 13.68 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003659/0.4399, allocations: 59.84 kB / 0.6836 GB, free: 13.62 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001812/0.4401, allocations: 43.83 kB / 0.6837 GB, free: 13.58 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001969/0.4403, allocations: 59.61 kB / 0.6837 GB, free: 13.52 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005929/0.441, allocations: 148 kB / 0.6838 GB, free: 13.38 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.019e-05/0.441, allocations: 0 / 0.6838 GB, free: 13.38 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.917e-06/0.441, allocations: 0 / 0.6838 GB, free: 13.38 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.52e-05/0.441, allocations: 0 / 0.6838 GB, free: 13.38 MB / 494.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.001867/0.4429, allocations: 0.4885 MB / 0.6843 GB, free: 12.83 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.785e-05/0.443, allocations: 8.031 kB / 0.6843 GB, free: 12.82 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001397/0.4432, allocations: 16.75 kB / 0.6844 GB, free: 12.81 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007524/0.4439, allocations: 253.4 kB / 0.6846 GB, free: 12.52 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.302e-05/0.444, allocations: 4.359 kB / 0.6846 GB, free: 12.52 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.038e-05/0.444, allocations: 8.125 kB / 0.6846 GB, free: 12.51 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003763/0.4444, allocations: 87.38 kB / 0.6847 GB, free: 12.41 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.127e-05/0.4444, allocations: 4 kB / 0.6847 GB, free: 12.41 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.157e-05/0.4445, allocations: 3.938 kB / 0.6847 GB, free: 12.41 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.514e-05/0.4445, allocations: 4 kB / 0.6847 GB, free: 12.4 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001863/0.4447, allocations: 39.97 kB / 0.6847 GB, free: 12.36 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001124/0.4459, allocations: 348.7 kB / 0.6851 GB, free: 11.97 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003813/0.4463, allocations: 82.61 kB / 0.6851 GB, free: 11.88 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001367/0.4464, allocations: 32.84 kB / 0.6852 GB, free: 11.85 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.661e-05/0.4465, allocations: 0 / 0.6852 GB, free: 11.85 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003455/0.4468, allocations: 83.48 kB / 0.6853 GB, free: 11.75 MB / 494.1 MB Notification: Performance of pre-optimization done (n=10): time 2.414e-06/0.4468, allocations: 3.938 kB / 0.6853 GB, free: 11.75 MB / 494.1 MB Notification: Performance of matching and sorting (n=10): time 0.0008014/0.4477, allocations: 137.4 kB / 0.6854 GB, free: 11.61 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002186/0.4479, allocations: 85.11 kB / 0.6855 GB, free: 11.51 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007814/0.4487, allocations: 259 kB / 0.6857 GB, free: 11.25 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.414e-05/0.4488, allocations: 25.98 kB / 0.6857 GB, free: 11.21 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002267/0.449, allocations: 120 kB / 0.6859 GB, free: 11.09 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.663e-05/0.4491, allocations: 31.62 kB / 0.6859 GB, free: 11.06 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001135/0.4493, allocations: 33.64 kB / 0.6859 GB, free: 11.02 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0004121/0.4497, allocations: 330.8 kB / 0.6862 GB, free: 10.69 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001257/0.4498, allocations: 35.92 kB / 0.6863 GB, free: 10.66 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001555/0.45, allocations: 55.42 kB / 0.6863 GB, free: 10.59 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002106/0.4502, allocations: 73.69 kB / 0.6864 GB, free: 10.51 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.584e-06/0.4502, allocations: 4 kB / 0.6864 GB, free: 10.51 MB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003712/0.4506, allocations: 109.4 kB / 0.6865 GB, free: 10.39 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.213e-05/0.4507, allocations: 11.98 kB / 0.6865 GB, free: 10.38 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.074e-05/0.4507, allocations: 4.062 kB / 0.6865 GB, free: 10.38 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.304e-05/0.4507, allocations: 0 / 0.6865 GB, free: 10.38 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001253/0.4509, allocations: 11.94 kB / 0.6865 GB, free: 10.37 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.463e-05/0.4509, allocations: 4 kB / 0.6865 GB, free: 10.36 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001141/0.451, allocations: 11.88 kB / 0.6865 GB, free: 10.35 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.455e-05/0.451, allocations: 0 / 0.6865 GB, free: 10.35 MB / 494.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 ($PRE.booTab.combiTimeTable.nextTimeEvent,$whenCondition1,booRep.y[4],booRep.y[3],booRep.y[2],booRep.y[1],booTab.combiTimeTable.nextTimeEventScaled,$PRE.booTab.combiTimeTable.nextTimeEventScaled,booTab.combiTimeTable.nextTimeEvent,booTab.y) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002425/0.4513, allocations: 146.5 kB / 0.6867 GB, free: 10.2 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.085e-05/0.4514, allocations: 11.81 kB / 0.6867 GB, free: 10.19 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.725e-05/0.4515, allocations: 21.41 kB / 0.6867 GB, free: 10.16 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.736e-05/0.4515, allocations: 7.984 kB / 0.6867 GB, free: 10.16 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.115e-06/0.4515, allocations: 0 / 0.6867 GB, free: 10.16 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.854e-06/0.4515, allocations: 3.938 kB / 0.6867 GB, free: 10.15 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003863/0.4519, allocations: 225.5 kB / 0.6869 GB, free: 9.883 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.452e-06/0.452, allocations: 0 / 0.6869 GB, free: 9.883 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.128e-05/0.452, allocations: 7.938 kB / 0.687 GB, free: 9.875 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.885e-06/0.452, allocations: 0 / 0.687 GB, free: 9.875 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.005e-05/0.4521, allocations: 7.938 kB / 0.687 GB, free: 9.867 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.155e-06/0.4521, allocations: 96 / 0.687 GB, free: 9.867 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.4521, allocations: 3.938 kB / 0.687 GB, free: 9.863 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000407/0.4525, allocations: 148.8 kB / 0.6871 GB, free: 9.699 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001028/0.4526, allocations: 92.92 kB / 0.6872 GB, free: 9.59 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.449e-05/0.4527, allocations: 0 / 0.6872 GB, free: 9.59 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.792e-05/0.4528, allocations: 7.984 kB / 0.6872 GB, free: 9.582 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.953e-05/0.4529, allocations: 4 kB / 0.6872 GB, free: 9.578 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.076e-05/0.4529, allocations: 15.86 kB / 0.6872 GB, free: 9.562 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003236/0.4532, allocations: 196.6 kB / 0.6874 GB, free: 9.371 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.4532, allocations: 0 / 0.6874 GB, free: 9.371 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004898/0.4537, allocations: 32 kB / 0.6874 GB, free: 9.34 MB / 494.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 (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.001985/0.4557, allocations: 428.2 kB / 0.6878 GB, free: 9.074 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003553/0.4561, allocations: 71.91 kB / 0.6879 GB, free: 9.004 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/0.4561, allocations: 3.938 kB / 0.6879 GB, free: 9 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001354/0.4563, allocations: 36.05 kB / 0.688 GB, free: 8.965 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000483/0.4568, allocations: 41.86 kB / 0.688 GB, free: 8.926 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001044/0.4578, allocations: 354.5 kB / 0.6883 GB, free: 8.547 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005088/0.4584, allocations: 0.7243 MB / 0.689 GB, free: 7.797 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.385e-05/0.4584, allocations: 19.44 kB / 0.6891 GB, free: 7.777 MB / 494.1 MB Notification: Performance of SimCode: time 4.51e-07/0.4585, allocations: 0 / 0.6891 GB, free: 7.777 MB / 494.1 MB Notification: Performance of Templates: time 0.01025/0.4687, allocations: 2.537 MB / 0.6915 GB, free: 5.258 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BooleanReplicator.makefile make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BooleanReplicator.makefile clang++ -std=c++14 NOTFOUND -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 OMCppBuildingSystems_BuildingSystems.Utilities.Math.Examples.BooleanReplicatorCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Utilities.Math.Examples.BooleanReplicatorCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Utilities.Math.Examples.BooleanReplicatorCalcHelperMain.o] Error 1