Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.ShowLogicalSources.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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Modelica.Blocks.Examples.ShowLogicalSources,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|table.y",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.ShowLogicalSources") translateModel(Modelica.Blocks.Examples.ShowLogicalSources,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|table.y",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.ShowLogicalSources") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001491/0.001491, allocations: 101.5 kB / 17.8 MB, free: 5.676 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.00166/0.00166, allocations: 194 kB / 18.72 MB, free: 4.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.894/1.894, allocations: 205.1 MB / 224.6 MB, free: 12.39 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 44.36 kB / 280.6 MB, free: 3.605 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1532/0.1545, allocations: 46.64 MB / 327.2 MB, free: 4.906 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.ShowLogicalSources): time 0.004312/0.1588, allocations: 1.883 MB / 329.1 MB, free: 3.004 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002204/0.1611, allocations: 0.9442 MB / 330.1 MB, free: 2.051 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001345/0.1612, allocations: 4 kB / 330.1 MB, free: 2.047 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007905/0.1621, allocations: 151.7 kB / 330.2 MB, free: 1.898 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003515/0.1624, allocations: 111.6 kB / 330.3 MB, free: 1.789 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005309/0.163, allocations: 139.8 kB / 330.5 MB, free: 1.652 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003862/0.1634, allocations: 203.4 kB / 330.7 MB, free: 1.453 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001735/0.1636, allocations: 25.48 kB / 330.7 MB, free: 1.43 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000162/0.1637, allocations: 71.69 kB / 330.8 MB, free: 1.359 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001813/0.1639, allocations: 79.62 kB / 330.8 MB, free: 1.281 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.991e-05/0.164, allocations: 4 kB / 330.8 MB, free: 1.277 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001597/0.1641, allocations: 47.97 kB / 330.9 MB, free: 1.23 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001097/0.1642, allocations: 47.77 kB / 330.9 MB, free: 1.184 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001207/0.1644, allocations: 71.53 kB / 331 MB, free: 1.113 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003069/0.1647, allocations: 156 kB / 331.1 MB, free: 0.9609 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.899e-06/0.1647, allocations: 4 kB / 331.2 MB, free: 0.957 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.1647, allocations: 0 / 331.2 MB, free: 0.957 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.254e-06/0.1647, allocations: 0 / 331.2 MB, free: 0.957 MB / 270.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.001313/0.1661, allocations: 0.5235 MB / 331.7 MB, free: 388 kB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.288e-05/0.1661, allocations: 16.03 kB / 331.7 MB, free: 372 kB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.082e-05/0.1662, allocations: 20.66 kB / 331.7 MB, free: 352 kB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00046/0.1667, allocations: 258.8 kB / 332 MB, free: 48 kB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.478e-05/0.1667, allocations: 8.359 kB / 332 MB, free: 40 kB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.076e-05/0.1668, allocations: 8.125 kB / 332 MB, free: 32 kB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003028/0.1671, allocations: 110 kB / 332.1 MB, free: 15.9 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.414e-05/0.1671, allocations: 4 kB / 332.1 MB, free: 15.9 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.236e-05/0.1671, allocations: 7.938 kB / 332.1 MB, free: 15.89 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.754e-06/0.1671, allocations: 0 / 332.1 MB, free: 15.89 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001658/0.1673, allocations: 51.97 kB / 332.2 MB, free: 15.84 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008931/0.1682, allocations: 0.6104 MB / 332.8 MB, free: 15.17 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002846/0.1685, allocations: 119.9 kB / 332.9 MB, free: 15.02 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001297/0.1686, allocations: 58.55 kB / 332.9 MB, free: 14.96 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.169e-05/0.1687, allocations: 7.984 kB / 332.9 MB, free: 14.95 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002552/0.169, allocations: 117.8 kB / 333.1 MB, free: 14.81 MB / 286.1 MB Notification: Performance of pre-optimization done (n=12): time 1.553e-06/0.169, allocations: 3.938 kB / 333.1 MB, free: 14.81 MB / 286.1 MB Notification: Performance of matching and sorting (n=12): time 0.0005121/0.1695, allocations: 177.3 kB / 333.2 MB, free: 14.63 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001241/0.1696, allocations: 132.5 kB / 333.4 MB, free: 14.47 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000376/0.17, allocations: 292.9 kB / 333.7 MB, free: 14.17 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.708e-05/0.17, allocations: 29.7 kB / 333.7 MB, free: 14.14 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001172/0.1702, allocations: 120.4 kB / 333.8 MB, free: 14.02 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.859e-05/0.1702, allocations: 27.64 kB / 333.8 MB, free: 13.99 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.359e-05/0.1703, allocations: 33.72 kB / 333.9 MB, free: 13.95 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002654/0.1706, allocations: 342.9 kB / 334.2 MB, free: 13.61 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001093/0.1707, allocations: 27.98 kB / 334.2 MB, free: 13.58 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001505/0.1708, allocations: 81.98 kB / 334.3 MB, free: 13.48 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002124/0.1711, allocations: 96.25 kB / 334.4 MB, free: 13.37 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.1711, allocations: 0 / 334.4 MB, free: 13.37 MB / 286.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002735/0.1713, allocations: 141.9 kB / 334.5 MB, free: 13.22 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.25e-05/0.1714, allocations: 8 kB / 334.5 MB, free: 13.21 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/0.1714, allocations: 3.984 kB / 334.5 MB, free: 13.21 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.065e-05/0.1714, allocations: 4 kB / 334.5 MB, free: 13.21 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.68e-05/0.1715, allocations: 24.03 kB / 334.6 MB, free: 13.18 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.1715, allocations: 0 / 334.6 MB, free: 13.18 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001099/0.1717, allocations: 19.92 kB / 334.6 MB, free: 13.16 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.137e-05/0.1717, allocations: 4 kB / 334.6 MB, free: 13.16 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 13 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition2,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y,$whenCondition1,booleanExpression.y,pulse.pulseStart,$PRE.pulse.pulseStart,pulse.y,step.y,sample.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * Array equations: 0 * 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.0001572/0.1718, allocations: 157.4 kB / 334.7 MB, free: 13 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.924e-05/0.1719, allocations: 23.7 kB / 334.8 MB, free: 12.97 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.473e-05/0.172, allocations: 21.72 kB / 334.8 MB, free: 12.95 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.172, allocations: 0 / 334.8 MB, free: 12.95 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.172, allocations: 8 kB / 334.8 MB, free: 12.95 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.185e-06/0.172, allocations: 7.922 kB / 334.8 MB, free: 12.94 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002661/0.1723, allocations: 237.6 kB / 335 MB, free: 12.66 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.1723, allocations: 0 / 335 MB, free: 12.66 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.977e-05/0.1723, allocations: 11.92 kB / 335.1 MB, free: 12.64 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.1723, allocations: 0 / 335.1 MB, free: 12.64 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.113e-05/0.1724, allocations: 4 kB / 335.1 MB, free: 12.64 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.1724, allocations: 3.938 kB / 335.1 MB, free: 12.64 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.1724, allocations: 0 / 335.1 MB, free: 12.64 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003507/0.1727, allocations: 182.4 kB / 335.2 MB, free: 12.43 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.878e-05/0.1728, allocations: 96.92 kB / 335.3 MB, free: 12.32 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.413e-05/0.1729, allocations: 7.984 kB / 335.3 MB, free: 12.31 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.766e-05/0.173, allocations: 11.98 kB / 335.4 MB, free: 12.3 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.768e-05/0.1731, allocations: 15.92 kB / 335.4 MB, free: 12.29 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.985e-05/0.1731, allocations: 8 kB / 335.4 MB, free: 12.28 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002377/0.1734, allocations: 212.5 kB / 335.6 MB, free: 12.07 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1734, allocations: 0 / 335.6 MB, free: 12.07 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002699/0.1736, allocations: 39.92 kB / 335.6 MB, free: 12.03 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,$whenCondition1,step.y,pulse.y,pulse.pulseStart,booleanExpression.y,sample.y) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.001153/0.1748, allocations: 426.2 kB / 336 MB, free: 11.62 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0003215/0.1751, allocations: 95.83 kB / 336.1 MB, free: 11.52 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.1752, allocations: 4.188 kB / 336.1 MB, free: 11.52 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001423/0.1753, allocations: 47.98 kB / 336.2 MB, free: 11.47 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003837/0.1757, allocations: 44.34 kB / 336.2 MB, free: 11.43 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008054/0.1765, allocations: 424.3 kB / 336.6 MB, free: 10.98 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003638/0.1769, allocations: 0.7322 MB / 337.4 MB, free: 10.22 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.519e-05/0.177, allocations: 19.44 kB / 337.4 MB, free: 10.2 MB / 286.1 MB Notification: Performance of SimCode: time 2.31e-07/0.177, allocations: 0 / 337.4 MB, free: 10.2 MB / 286.1 MB Notification: Performance of Templates: time 0.006061/0.183, allocations: 2.866 MB / 340.3 MB, free: 7.328 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.ShowLogicalSources.makefile make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.ShowLogicalSources.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 OMCppModelica_3.2.3_Modelica.Blocks.Examples.ShowLogicalSourcesCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Blocks.Examples.ShowLogicalSourcesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Blocks.Examples.ShowLogicalSourcesCalcHelperMain.o] Error 1