Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.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(IDEAS.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.BooleanReplicator") translateModel(IDEAS.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.001081/0.001081, allocations: 96.14 kB / 15.87 MB, free: 16 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.001088/0.001087, allocations: 191.7 kB / 16.79 MB, free: 6.812 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.287/1.287, allocations: 222.9 MB / 240.4 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7015/0.7015, allocations: 132.2 MB / 422.8 MB, free: 2.004 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001074/0.001074, allocations: 63.66 kB / 0.5017 GB, free: 9.207 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1535/0.1546, allocations: 80.2 MB / 0.58 GB, free: 9.23 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BooleanReplicator): time 0.002972/0.1576, allocations: 1.841 MB / 0.5818 GB, free: 7.375 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001568/0.1592, allocations: 1.014 MB / 0.5828 GB, free: 6.352 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.33e-05/0.1593, allocations: 0 / 0.5828 GB, free: 6.352 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005493/0.1599, allocations: 158.3 kB / 0.583 GB, free: 6.199 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002226/0.1601, allocations: 103.7 kB / 0.5831 GB, free: 6.098 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003803/0.1605, allocations: 150.4 kB / 0.5832 GB, free: 5.953 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002057/0.1607, allocations: 163.6 kB / 0.5834 GB, free: 5.793 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.913e-05/0.1608, allocations: 28.8 kB / 0.5834 GB, free: 5.766 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.389e-05/0.1609, allocations: 67.69 kB / 0.5835 GB, free: 5.699 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001858/0.1611, allocations: 59.77 kB / 0.5835 GB, free: 5.641 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.265e-05/0.1611, allocations: 4 kB / 0.5835 GB, free: 5.637 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001208/0.1613, allocations: 59.89 kB / 0.5836 GB, free: 5.578 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.627e-05/0.1613, allocations: 35.91 kB / 0.5836 GB, free: 5.543 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.864e-05/0.1614, allocations: 59.59 kB / 0.5837 GB, free: 5.484 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000248/0.1617, allocations: 147.9 kB / 0.5838 GB, free: 5.34 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.1617, allocations: 4 kB / 0.5838 GB, free: 5.336 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1617, allocations: 0 / 0.5838 GB, free: 5.336 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.538e-06/0.1617, allocations: 0 / 0.5838 GB, free: 5.336 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.0007482/0.1625, allocations: 492.3 kB / 0.5843 GB, free: 4.801 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.077e-05/0.1625, allocations: 12.03 kB / 0.5843 GB, free: 4.789 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.245e-05/0.1626, allocations: 20.75 kB / 0.5843 GB, free: 4.77 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002557/0.1628, allocations: 253.4 kB / 0.5846 GB, free: 4.484 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.392e-05/0.1628, allocations: 4.375 kB / 0.5846 GB, free: 4.48 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.509e-05/0.1629, allocations: 12.12 kB / 0.5846 GB, free: 4.469 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001792/0.1631, allocations: 87.31 kB / 0.5847 GB, free: 4.371 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.1631, allocations: 7.938 kB / 0.5847 GB, free: 4.363 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.125e-05/0.1631, allocations: 0 / 0.5847 GB, free: 4.363 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.682e-05/0.1631, allocations: 4 kB / 0.5847 GB, free: 4.359 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.379e-05/0.1632, allocations: 39.98 kB / 0.5847 GB, free: 4.32 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005643/0.1638, allocations: 348.7 kB / 0.585 GB, free: 3.93 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001845/0.164, allocations: 70.67 kB / 0.5851 GB, free: 3.852 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.772e-05/0.1641, allocations: 36.84 kB / 0.5851 GB, free: 3.812 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.763e-05/0.1641, allocations: 4 kB / 0.5851 GB, free: 3.809 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001825/0.1643, allocations: 83.31 kB / 0.5852 GB, free: 3.715 MB / 494.1 MB Notification: Performance of pre-optimization done (n=10): time 1.503e-06/0.1643, allocations: 0 / 0.5852 GB, free: 3.715 MB / 494.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003371/0.1646, allocations: 145.4 kB / 0.5854 GB, free: 3.566 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.082e-05/0.1647, allocations: 81.09 kB / 0.5854 GB, free: 3.469 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000253/0.165, allocations: 259.1 kB / 0.5857 GB, free: 3.207 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.587e-05/0.165, allocations: 33.7 kB / 0.5857 GB, free: 3.168 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.889e-05/0.1651, allocations: 112.1 kB / 0.5858 GB, free: 3.055 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.577e-05/0.1651, allocations: 23.66 kB / 0.5858 GB, free: 3.031 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.235e-05/0.1652, allocations: 29.7 kB / 0.5859 GB, free: 2.996 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001247/0.1653, allocations: 330.8 kB / 0.5862 GB, free: 2.664 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.308e-05/0.1654, allocations: 23.98 kB / 0.5862 GB, free: 2.641 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.212e-05/0.1655, allocations: 67.52 kB / 0.5863 GB, free: 2.562 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001231/0.1656, allocations: 77.95 kB / 0.5863 GB, free: 2.48 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.1656, allocations: 3.938 kB / 0.5864 GB, free: 2.477 MB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002011/0.1658, allocations: 117.4 kB / 0.5865 GB, free: 2.355 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/0.1658, allocations: 4 kB / 0.5865 GB, free: 2.352 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.1658, allocations: 4 kB / 0.5865 GB, free: 2.348 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.065e-05/0.1658, allocations: 0 / 0.5865 GB, free: 2.348 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.324e-05/0.1659, allocations: 11.98 kB / 0.5865 GB, free: 2.336 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.1659, allocations: 4.062 kB / 0.5865 GB, free: 2.332 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.739e-05/0.166, allocations: 11.84 kB / 0.5865 GB, free: 2.32 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.027e-05/0.166, allocations: 8 kB / 0.5865 GB, free: 2.312 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.0001175/0.1661, allocations: 141.7 kB / 0.5866 GB, free: 2.164 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.694e-05/0.1662, allocations: 15.81 kB / 0.5867 GB, free: 2.148 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.225e-05/0.1662, allocations: 25.39 kB / 0.5867 GB, free: 2.121 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.997e-06/0.1662, allocations: 0 / 0.5867 GB, free: 2.121 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.1663, allocations: 4 kB / 0.5867 GB, free: 2.117 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.1663, allocations: 7.938 kB / 0.5867 GB, free: 2.109 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001851/0.1665, allocations: 217.5 kB / 0.5869 GB, free: 1.848 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.1665, allocations: 0 / 0.5869 GB, free: 1.848 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.988e-05/0.1665, allocations: 4 kB / 0.5869 GB, free: 1.844 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.1665, allocations: 3.984 kB / 0.5869 GB, free: 1.84 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.206e-06/0.1665, allocations: 0 / 0.5869 GB, free: 1.84 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/0.1665, allocations: 8 kB / 0.5869 GB, free: 1.832 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.1665, allocations: 0 / 0.5869 GB, free: 1.832 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002695/0.1668, allocations: 152.8 kB / 0.5871 GB, free: 1.664 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.185e-05/0.1669, allocations: 92.91 kB / 0.5872 GB, free: 1.555 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.767e-05/0.1669, allocations: 7.984 kB / 0.5872 GB, free: 1.547 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.958e-05/0.1669, allocations: 4 kB / 0.5872 GB, free: 1.543 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.456e-05/0.167, allocations: 7.984 kB / 0.5872 GB, free: 1.535 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.203e-05/0.167, allocations: 7.938 kB / 0.5872 GB, free: 1.527 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002117/0.1672, allocations: 192.4 kB / 0.5874 GB, free: 1.34 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1672, allocations: 0 / 0.5874 GB, free: 1.34 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002353/0.1675, allocations: 39.92 kB / 0.5874 GB, free: 1.301 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.0009197/0.1684, allocations: 417.1 kB / 0.5878 GB, free: 1.074 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002009/0.1686, allocations: 75.89 kB / 0.5879 GB, free: 1 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.1686, allocations: 0 / 0.5879 GB, free: 1 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.883e-05/0.1687, allocations: 39.98 kB / 0.5879 GB, free: 0.9609 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002707/0.169, allocations: 40.88 kB / 0.5879 GB, free: 0.9219 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00049/0.1695, allocations: 382.3 kB / 0.5883 GB, free: 0.5195 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00027/0.1698, allocations: 0.7243 MB / 0.589 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.025e-05/0.1698, allocations: 19.42 kB / 0.589 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.1698, allocations: 0 / 0.589 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of Templates: time 0.003809/0.1736, allocations: 2.54 MB / 0.5915 GB, free: 13.23 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.BooleanReplicator.makefile make -j1 -f IDEAS_IDEAS.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 OMCppIDEAS_IDEAS.Utilities.Math.Examples.BooleanReplicatorCalcHelperMain.o OMCppIDEAS_IDEAS.Utilities.Math.Examples.BooleanReplicatorCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.Utilities.Math.Examples.BooleanReplicatorCalcHelperMain.o] Error 1