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.000863/0.0008625, allocations: 92.25 kB / 17.58 MB, free: 5.758 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.000854/0.0008543, allocations: 183.5 kB / 18.48 MB, free: 5.207 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.648/1.648, allocations: 205.4 MB / 224.6 MB, free: 13.08 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.0004649/0.0004651, allocations: 12 kB / 281.4 MB, free: 3.742 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09182/0.09229, allocations: 47.58 MB / 329 MB, free: 4.086 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.ShowLogicalSources): time 0.001868/0.0942, allocations: 1.494 MB / 330.5 MB, free: 2.578 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001309/0.09552, allocations: 0.8902 MB / 331.4 MB, free: 1.68 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.471e-05/0.09561, allocations: 0 / 331.4 MB, free: 1.68 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004796/0.0961, allocations: 147.7 kB / 331.5 MB, free: 1.535 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002323/0.09634, allocations: 103.6 kB / 331.6 MB, free: 1.434 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003208/0.09668, allocations: 127.8 kB / 331.7 MB, free: 1.309 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002136/0.0969, allocations: 183.4 kB / 331.9 MB, free: 1.129 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.587e-05/0.09699, allocations: 17.48 kB / 331.9 MB, free: 1.113 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001137/0.09711, allocations: 71.7 kB / 332 MB, free: 1.043 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001133/0.09724, allocations: 83.66 kB / 332.1 MB, free: 0.9609 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.172e-05/0.09727, allocations: 8 kB / 332.1 MB, free: 0.9531 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001/0.09737, allocations: 43.92 kB / 332.1 MB, free: 0.9102 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 5.926e-05/0.09744, allocations: 39.89 kB / 332.2 MB, free: 0.8711 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 5.217e-05/0.0975, allocations: 57.56 kB / 332.2 MB, free: 0.8086 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001872/0.09769, allocations: 155.9 kB / 332.4 MB, free: 0.6562 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.0977, allocations: 0 / 332.4 MB, free: 0.6562 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.724e-06/0.09771, allocations: 0 / 332.4 MB, free: 0.6562 MB / 270.1 MB Notification: Performance of Transformations before backend: time 3.887e-06/0.09772, allocations: 0 / 332.4 MB, free: 0.6562 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.0007401/0.09847, allocations: 0.504 MB / 332.9 MB, free: 100 kB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.152e-05/0.09851, allocations: 15.97 kB / 332.9 MB, free: 84 kB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.802e-05/0.09857, allocations: 15.81 kB / 332.9 MB, free: 68 kB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000297/0.09887, allocations: 257.6 kB / 333.2 MB, free: 15.77 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.505e-05/0.0989, allocations: 0 / 333.2 MB, free: 15.77 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.897e-05/0.09892, allocations: 15.98 kB / 333.2 MB, free: 15.75 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002058/0.09914, allocations: 118 kB / 333.3 MB, free: 15.62 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.643e-05/0.09916, allocations: 7.922 kB / 333.3 MB, free: 15.61 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.488e-05/0.09918, allocations: 4 kB / 333.3 MB, free: 15.61 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.09919, allocations: 0 / 333.3 MB, free: 15.61 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001301/0.09933, allocations: 55.84 kB / 333.4 MB, free: 15.55 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005813/0.09992, allocations: 0.6066 MB / 334 MB, free: 14.88 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002198/0.1001, allocations: 135.9 kB / 334.1 MB, free: 14.72 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.87e-05/0.1003, allocations: 46.56 kB / 334.1 MB, free: 14.67 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.164e-05/0.1003, allocations: 3.938 kB / 334.1 MB, free: 14.66 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001935/0.1005, allocations: 125.9 kB / 334.3 MB, free: 14.52 MB / 286.1 MB Notification: Performance of pre-optimization done (n=12): time 1.263e-06/0.1005, allocations: 0 / 334.3 MB, free: 14.52 MB / 286.1 MB Notification: Performance of matching and sorting (n=12): time 0.0003996/0.1009, allocations: 173.2 kB / 334.4 MB, free: 14.34 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.112e-05/0.101, allocations: 144.6 kB / 334.6 MB, free: 14.17 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002761/0.1013, allocations: 285 kB / 334.9 MB, free: 13.88 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.814e-05/0.1013, allocations: 25.7 kB / 334.9 MB, free: 13.85 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.173e-05/0.1014, allocations: 128.4 kB / 335 MB, free: 13.72 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.836e-05/0.1014, allocations: 27.64 kB / 335 MB, free: 13.7 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.432e-06/0.1014, allocations: 0 / 335 MB, free: 13.7 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000107/0.1015, allocations: 326.8 kB / 335.3 MB, free: 13.37 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.421e-05/0.1016, allocations: 39.97 kB / 335.4 MB, free: 13.33 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001095/0.1018, allocations: 81.38 kB / 335.5 MB, free: 13.23 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.373e-05/0.1018, allocations: 39.92 kB / 335.5 MB, free: 13.19 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.1019, allocations: 0 / 335.5 MB, free: 13.19 MB / 286.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002336/0.1021, allocations: 141.4 kB / 335.6 MB, free: 13.05 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.1021, allocations: 10.66 kB / 335.7 MB, free: 13.04 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.524e-05/0.1021, allocations: 4.609 kB / 335.7 MB, free: 13.04 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.1022, allocations: 0 / 335.7 MB, free: 13.04 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.592e-05/0.1022, allocations: 15.94 kB / 335.7 MB, free: 13.02 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.1023, allocations: 4 kB / 335.7 MB, free: 13.02 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001018/0.1024, allocations: 27.98 kB / 335.7 MB, free: 12.99 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.267e-05/0.1024, allocations: 11.95 kB / 335.7 MB, free: 12.98 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 ($whenCondition2,$PRE.table.combiTimeTable.nextTimeEvent,table.y,table.combiTimeTable.nextTimeEvent,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEventScaled,$whenCondition1,step.y,pulse.y,$PRE.pulse.pulseStart,pulse.pulseStart,booleanExpression.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001243/0.1025, allocations: 149.6 kB / 335.9 MB, free: 12.82 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.707e-05/0.1026, allocations: 23.75 kB / 335.9 MB, free: 12.8 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.276e-05/0.1026, allocations: 25.7 kB / 335.9 MB, free: 12.77 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.1026, allocations: 0 / 335.9 MB, free: 12.77 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.471e-06/0.1026, allocations: 0 / 335.9 MB, free: 12.77 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.1026, allocations: 4 kB / 335.9 MB, free: 12.77 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002174/0.1029, allocations: 257.3 kB / 336.2 MB, free: 12.47 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.1029, allocations: 0 / 336.2 MB, free: 12.47 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.599e-05/0.1029, allocations: 8 kB / 336.2 MB, free: 12.46 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.1029, allocations: 0 / 336.2 MB, free: 12.46 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.483e-05/0.1029, allocations: 7.984 kB / 336.2 MB, free: 12.45 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.1029, allocations: 0 / 336.2 MB, free: 12.45 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.1029, allocations: 0 / 336.2 MB, free: 12.45 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002797/0.1032, allocations: 178.5 kB / 336.4 MB, free: 12.25 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.882e-05/0.1033, allocations: 104.8 kB / 336.5 MB, free: 12.13 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.202e-05/0.1033, allocations: 4 kB / 336.5 MB, free: 12.13 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001005/0.1035, allocations: 19.97 kB / 336.5 MB, free: 12.11 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.109e-05/0.1035, allocations: 15.92 kB / 336.5 MB, free: 12.09 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.461e-05/0.1035, allocations: 4 kB / 336.5 MB, free: 12.09 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001914/0.1037, allocations: 216.5 kB / 336.7 MB, free: 11.88 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1037, allocations: 0 / 336.7 MB, free: 11.88 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002552/0.104, allocations: 39.98 kB / 336.8 MB, free: 11.84 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 (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.0009344/0.1049, allocations: 412.6 kB / 337.2 MB, free: 11.44 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0002631/0.1052, allocations: 95.83 kB / 337.2 MB, free: 11.34 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.1052, allocations: 4.188 kB / 337.3 MB, free: 11.34 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001223/0.1054, allocations: 55.92 kB / 337.3 MB, free: 11.29 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000314/0.1057, allocations: 44.34 kB / 337.4 MB, free: 11.24 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005746/0.1063, allocations: 397.6 kB / 337.7 MB, free: 10.82 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002786/0.1066, allocations: 0.7322 MB / 338.5 MB, free: 10.06 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.773e-05/0.1066, allocations: 19.44 kB / 338.5 MB, free: 10.04 MB / 286.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1066, allocations: 0 / 338.5 MB, free: 10.04 MB / 286.1 MB Notification: Performance of Templates: time 0.004849/0.1115, allocations: 2.854 MB / 341.3 MB, free: 7.18 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++ 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 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