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.0008536/0.0008534, allocations: 93.08 kB / 17.95 MB, free: 5.625 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.001042/0.001042, allocations: 180.3 kB / 18.87 MB, free: 4.773 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.816/1.816, allocations: 205.4 MB / 225 MB, free: 13.07 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.0005905/0.0005905, allocations: 8 kB / 282 MB, free: 3.418 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1316/0.1322, allocations: 47.59 MB / 329.6 MB, free: 3.762 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.ShowLogicalSources): time 0.002681/0.1349, allocations: 1.533 MB / 331.1 MB, free: 2.215 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001848/0.1368, allocations: 0.9171 MB / 332.1 MB, free: 1.289 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000104/0.1369, allocations: 4 kB / 332.1 MB, free: 1.285 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007683/0.1377, allocations: 155.6 kB / 332.2 MB, free: 1.133 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002711/0.138, allocations: 111.7 kB / 332.3 MB, free: 1.023 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003862/0.1384, allocations: 139.7 kB / 332.5 MB, free: 0.8867 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002792/0.1387, allocations: 207.4 kB / 332.7 MB, free: 0.6836 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001347/0.1388, allocations: 13.56 kB / 332.7 MB, free: 0.6719 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001283/0.139, allocations: 75.62 kB / 332.7 MB, free: 0.5977 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000142/0.1391, allocations: 87.66 kB / 332.8 MB, free: 0.5117 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.188e-05/0.1392, allocations: 4 kB / 332.8 MB, free: 0.5078 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001552/0.1393, allocations: 43.92 kB / 332.9 MB, free: 476 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 8.252e-05/0.1394, allocations: 39.84 kB / 332.9 MB, free: 436 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001205/0.1395, allocations: 101.2 kB / 333 MB, free: 328 kB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002436/0.1398, allocations: 156 kB / 333.2 MB, free: 172 kB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.1398, allocations: 0 / 333.2 MB, free: 172 kB / 270.1 MB Notification: Performance of FrontEnd: time 2.705e-06/0.1398, allocations: 0 / 333.2 MB, free: 172 kB / 270.1 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.1398, allocations: 0 / 333.2 MB, free: 172 kB / 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.0009722/0.1408, allocations: 0.508 MB / 333.7 MB, free: 15.6 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.431e-05/0.1409, allocations: 12.03 kB / 333.7 MB, free: 15.59 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.978e-05/0.1409, allocations: 16.75 kB / 333.7 MB, free: 15.57 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003583/0.1413, allocations: 258.8 kB / 334 MB, free: 15.28 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.554e-05/0.1413, allocations: 8.375 kB / 334 MB, free: 15.27 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.199e-05/0.1413, allocations: 8.125 kB / 334 MB, free: 15.26 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002695/0.1416, allocations: 125.9 kB / 334.1 MB, free: 15.12 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.1416, allocations: 0 / 334.1 MB, free: 15.12 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.954e-05/0.1417, allocations: 4 kB / 334.1 MB, free: 15.11 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.216e-06/0.1417, allocations: 0 / 334.1 MB, free: 15.11 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001637/0.1419, allocations: 55.84 kB / 334.2 MB, free: 15.06 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007816/0.1427, allocations: 0.6065 MB / 334.8 MB, free: 14.39 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002919/0.143, allocations: 131.9 kB / 334.9 MB, free: 14.24 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001159/0.1431, allocations: 54.5 kB / 334.9 MB, free: 14.18 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.18e-05/0.1431, allocations: 0 / 334.9 MB, free: 14.18 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002904/0.1434, allocations: 121.9 kB / 335.1 MB, free: 14.04 MB / 286.1 MB Notification: Performance of pre-optimization done (n=12): time 3.316e-06/0.1434, allocations: 0 / 335.1 MB, free: 14.04 MB / 286.1 MB Notification: Performance of matching and sorting (n=12): time 0.0005308/0.144, allocations: 177.3 kB / 335.2 MB, free: 13.86 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001307/0.1441, allocations: 140.6 kB / 335.4 MB, free: 13.69 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003613/0.1445, allocations: 284.9 kB / 335.7 MB, free: 13.4 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.168e-05/0.1445, allocations: 29.7 kB / 335.7 MB, free: 13.36 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001147/0.1447, allocations: 124.4 kB / 335.8 MB, free: 13.24 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.359e-05/0.1447, allocations: 27.64 kB / 335.8 MB, free: 13.21 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.269e-05/0.1448, allocations: 21.66 kB / 335.8 MB, free: 13.18 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001831/0.1449, allocations: 334.8 kB / 336.2 MB, free: 12.85 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.595e-05/0.1451, allocations: 35.98 kB / 336.2 MB, free: 12.81 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001323/0.1452, allocations: 85.92 kB / 336.3 MB, free: 12.71 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001951/0.1454, allocations: 100.2 kB / 336.4 MB, free: 12.59 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.1454, allocations: 0 / 336.4 MB, free: 12.59 MB / 286.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002807/0.1457, allocations: 145.8 kB / 336.5 MB, free: 12.45 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/0.1457, allocations: 4 kB / 336.5 MB, free: 12.44 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.1457, allocations: 0 / 336.5 MB, free: 12.44 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.966e-05/0.1458, allocations: 4.125 kB / 336.5 MB, free: 12.44 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.577e-05/0.1459, allocations: 19.94 kB / 336.6 MB, free: 12.42 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.187e-06/0.1459, allocations: 8.078 kB / 336.6 MB, free: 12.41 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00011/0.146, allocations: 23.84 kB / 336.6 MB, free: 12.39 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.144e-05/0.146, allocations: 4 kB / 336.6 MB, free: 12.38 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.0001549/0.1462, allocations: 157.3 kB / 336.8 MB, free: 12.22 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.454e-05/0.1462, allocations: 19.8 kB / 336.8 MB, free: 12.2 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.931e-05/0.1463, allocations: 21.72 kB / 336.8 MB, free: 12.18 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.1463, allocations: 8 kB / 336.8 MB, free: 12.17 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.1463, allocations: 0 / 336.8 MB, free: 12.17 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.436e-06/0.1463, allocations: 7.922 kB / 336.8 MB, free: 12.16 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002374/0.1466, allocations: 237.6 kB / 337 MB, free: 11.88 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.1466, allocations: 0 / 337 MB, free: 11.88 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.135e-05/0.1466, allocations: 11.98 kB / 337.1 MB, free: 11.87 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.1466, allocations: 0 / 337.1 MB, free: 11.87 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.357e-05/0.1466, allocations: 4 kB / 337.1 MB, free: 11.87 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.1467, allocations: 0 / 337.1 MB, free: 11.87 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.1467, allocations: 3.938 kB / 337.1 MB, free: 11.86 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003536/0.147, allocations: 186.4 kB / 337.2 MB, free: 11.66 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001/0.1471, allocations: 100.9 kB / 337.3 MB, free: 11.54 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.32e-05/0.1472, allocations: 0 / 337.3 MB, free: 11.54 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001198/0.1473, allocations: 15.98 kB / 337.4 MB, free: 11.52 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.417e-05/0.1474, allocations: 19.92 kB / 337.4 MB, free: 11.5 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.619e-05/0.1474, allocations: 4 kB / 337.4 MB, free: 11.5 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002027/0.1476, allocations: 216.5 kB / 337.6 MB, free: 11.29 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1476, allocations: 0 / 337.6 MB, free: 11.29 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.000264/0.1479, allocations: 35.89 kB / 337.6 MB, free: 11.25 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.001105/0.149, allocations: 433.5 kB / 338 MB, free: 10.83 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0003281/0.1493, allocations: 95.89 kB / 338.1 MB, free: 10.74 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.1494, allocations: 0 / 338.1 MB, free: 10.74 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001372/0.1495, allocations: 55.92 kB / 338.2 MB, free: 10.68 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003895/0.1499, allocations: 44.39 kB / 338.2 MB, free: 10.64 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007339/0.1506, allocations: 414.6 kB / 338.6 MB, free: 10.2 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003874/0.151, allocations: 0.7321 MB / 339.4 MB, free: 9.441 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.65e-05/0.1511, allocations: 23.44 kB / 339.4 MB, free: 9.418 MB / 286.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1511, allocations: 3.938 kB / 339.4 MB, free: 9.414 MB / 286.1 MB Notification: Performance of Templates: time 0.005666/0.1568, allocations: 2.838 MB / 342.2 MB, free: 6.57 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