Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaByExample_ModelicaByExample.Architectures.SensorComparison.Examples.FlatSystem.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo", uses=false) Using package ModelicaByExample with version 0.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo) 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(ModelicaByExample.Architectures.SensorComparison.Examples.FlatSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaByExample_ModelicaByExample.Architectures.SensorComparison.Examples.FlatSystem") translateModel(ModelicaByExample.Architectures.SensorComparison.Examples.FlatSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaByExample_ModelicaByExample.Architectures.SensorComparison.Examples.FlatSystem") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00852/0.00852, allocations: 101.1 kB / 15.88 MB, free: 5.867 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.001547/0.001547, allocations: 190.6 kB / 16.79 MB, free: 5.809 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.641/1.641, allocations: 205.1 MB / 222.6 MB, free: 4.711 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.04095/0.04095, allocations: 8.101 MB / 278.1 MB, free: 13.38 MB / 238.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: ModelicaByExample requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00143/0.00143, allocations: 59.92 kB / 337.2 MB, free: 26.96 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1025/0.104, allocations: 48.3 MB / 385.5 MB, free: 10.61 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Architectures.SensorComparison.Examples.FlatSystem): time 0.003969/0.108, allocations: 2.442 MB / 387.9 MB, free: 8.148 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001335/0.1094, allocations: 0.6437 MB / 388.5 MB, free: 7.496 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002312/0.1097, allocations: 4 kB / 388.5 MB, free: 7.492 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001802/0.1098, allocations: 23.78 kB / 388.6 MB, free: 7.469 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002503/0.1101, allocations: 63.47 kB / 388.6 MB, free: 7.406 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002774/0.1104, allocations: 55.94 kB / 388.7 MB, free: 7.352 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003487/0.1108, allocations: 282.8 kB / 389 MB, free: 7.074 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002339/0.111, allocations: 81.89 kB / 389 MB, free: 6.988 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001808/0.1112, allocations: 103.6 kB / 389.1 MB, free: 6.887 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001788/0.1114, allocations: 123.4 kB / 389.3 MB, free: 6.766 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.094e-05/0.1114, allocations: 16 kB / 389.3 MB, free: 6.75 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.354e-05/0.1115, allocations: 16 kB / 389.3 MB, free: 6.734 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.412e-05/0.1115, allocations: 51.83 kB / 389.3 MB, free: 6.684 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001345/0.1117, allocations: 115.4 kB / 389.5 MB, free: 6.57 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002115/0.1119, allocations: 195.7 kB / 389.6 MB, free: 6.379 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.1119, allocations: 4 kB / 389.7 MB, free: 6.375 MB / 286.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.1119, allocations: 0 / 389.7 MB, free: 6.375 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.005e-05/0.1119, allocations: 0 / 389.7 MB, free: 6.375 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.001097/0.113, allocations: 0.5787 MB / 390.2 MB, free: 5.742 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/0.1131, allocations: 8.031 kB / 390.2 MB, free: 5.734 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.253e-05/0.1131, allocations: 24.66 kB / 390.3 MB, free: 5.711 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002934/0.1134, allocations: 240.6 kB / 390.5 MB, free: 5.438 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.046e-05/0.1135, allocations: 16.81 kB / 390.5 MB, free: 5.422 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.274e-05/0.1135, allocations: 28.27 kB / 390.5 MB, free: 5.395 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005415/0.1141, allocations: 227.5 kB / 390.8 MB, free: 5.164 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.605e-05/0.1141, allocations: 0 / 390.8 MB, free: 5.164 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.283e-05/0.1142, allocations: 12 kB / 390.8 MB, free: 5.152 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.938e-06/0.1142, allocations: 11.98 kB / 390.8 MB, free: 5.141 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005599/0.1147, allocations: 193.5 kB / 391 MB, free: 4.953 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001019/0.1158, allocations: 0.7175 MB / 391.7 MB, free: 4.172 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007365/0.1165, allocations: 241 kB / 391.9 MB, free: 3.93 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003039/0.1168, allocations: 120.7 kB / 392 MB, free: 3.809 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.721e-05/0.1169, allocations: 4 kB / 392 MB, free: 3.805 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004527/0.1173, allocations: 164.3 kB / 392.2 MB, free: 3.633 MB / 286.1 MB Notification: Performance of pre-optimization done (n=25): time 2.955e-06/0.1173, allocations: 4 kB / 392.2 MB, free: 3.629 MB / 286.1 MB Notification: Performance of matching and sorting (n=29): time 0.002547/0.1199, allocations: 1.134 MB / 393.3 MB, free: 2.406 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.838e-05/0.1199, allocations: 55.41 kB / 393.4 MB, free: 2.34 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001751/0.1201, allocations: 183.5 kB / 393.6 MB, free: 2.152 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.706e-05/0.1202, allocations: 29.7 kB / 393.6 MB, free: 2.117 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001016/0.1203, allocations: 140.7 kB / 393.7 MB, free: 1.977 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.789e-05/0.1204, allocations: 90.56 kB / 393.8 MB, free: 1.887 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.54e-05/0.1204, allocations: 53.7 kB / 393.9 MB, free: 1.828 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001388/0.1206, allocations: 330.8 kB / 394.2 MB, free: 1.496 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002831/0.1209, allocations: 95.94 kB / 394.3 MB, free: 1.402 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002832/0.1212, allocations: 121.5 kB / 394.4 MB, free: 1.277 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001349/0.1225, allocations: 0.5193 MB / 394.9 MB, free: 0.7344 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.938e-06/0.1225, allocations: 4 kB / 394.9 MB, free: 0.7305 MB / 286.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000697/0.1232, allocations: 339.8 kB / 395.3 MB, free: 396 kB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.236e-05/0.1233, allocations: 41.62 kB / 395.3 MB, free: 348 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.1233, allocations: 0 / 395.3 MB, free: 348 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.1233, allocations: 0 / 395.3 MB, free: 348 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002961/0.1236, allocations: 71.89 kB / 395.4 MB, free: 276 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.207e-05/0.1237, allocations: 4 kB / 395.4 MB, free: 272 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002066/0.1239, allocations: 28 kB / 395.4 MB, free: 244 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.352e-05/0.1239, allocations: 8 kB / 395.4 MB, free: 236 kB / 286.1 MB Warning: Assuming fixed start value for the following 4 variables: springDamper.phi_rel:VARIABLE(start = 0.0 unit = "rad" fixed = true nominal = if springDamper.phi_nominal >= 1e-15 then springDamper.phi_nominal else 1.0 stateSelect=StateSelect.prefer ) "Relative rotation angle (= flange_b.phi - flange_a.phi)" type: Real springDamper.w_rel:VARIABLE(start = 0.0 unit = "rad/s" fixed = true stateSelect=StateSelect.prefer ) "Relative angular velocity (= der(phi_rel))" type: Real damper.phi_rel:VARIABLE(start = 0.0 unit = "rad" fixed = true nominal = if damper.phi_nominal >= 1e-15 then damper.phi_nominal else 1.0 stateSelect=StateSelect.prefer ) "Relative rotation angle (= flange_b.phi - flange_a.phi)" type: Real damper.w_rel:VARIABLE(start = 0.0 unit = "rad/s" fixed = true stateSelect=StateSelect.prefer ) "Relative angular velocity (= der(phi_rel))" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.trapezoid.count,$PRE.trapezoid.T_start,trapezoid.count,trapezoid.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 1 * 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.0002412/0.1242, allocations: 175.8 kB / 395.6 MB, free: 56 kB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.545e-05/0.1242, allocations: 23.75 kB / 395.6 MB, free: 32 kB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.997e-05/0.1243, allocations: 30.64 kB / 395.7 MB, free: 0 / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.816e-06/0.1243, allocations: 0 / 395.7 MB, free: 0 / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.022e-06/0.1243, allocations: 0 / 395.7 MB, free: 0 / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.53e-05/0.1243, allocations: 48 / 395.7 MB, free: 16 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001186/0.1255, allocations: 0.7185 MB / 396.4 MB, free: 15.22 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.1255, allocations: 0 / 396.4 MB, free: 15.22 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003741/0.1259, allocations: 59.95 kB / 396.4 MB, free: 15.16 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.28e-06/0.1259, allocations: 4 kB / 396.4 MB, free: 15.16 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.003e-05/0.126, allocations: 8.062 kB / 396.4 MB, free: 15.15 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.041e-06/0.126, allocations: 7.938 kB / 396.4 MB, free: 15.14 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.126, allocations: 0 / 396.4 MB, free: 15.14 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009949/0.127, allocations: 0.5084 MB / 397 MB, free: 14.61 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.646e-05/0.1271, allocations: 88.92 kB / 397 MB, free: 14.5 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.411e-05/0.1271, allocations: 8 kB / 397.1 MB, free: 14.5 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002191/0.1273, allocations: 24.02 kB / 397.1 MB, free: 14.47 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.419e-05/0.1274, allocations: 27.97 kB / 397.1 MB, free: 14.45 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.789e-05/0.1275, allocations: 15.86 kB / 397.1 MB, free: 14.43 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001074/0.1276, allocations: 132.7 kB / 397.2 MB, free: 14.3 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1276, allocations: 0 / 397.2 MB, free: 14.3 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003207/0.1279, allocations: 64 kB / 397.3 MB, free: 14.24 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (springDamper.phi_rel,springDamper.w_rel,damper.phi_rel,damper.w_rel) * Number of discrete variables: 3 ($whenCondition1,trapezoid.T_start,trapezoid.count) * Number of discrete states: 1 (trapezoid.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 27 * Array equations: 0 * 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.0001312/0.128, allocations: 99.25 kB / 397.4 MB, free: 14.13 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006937/0.1287, allocations: 312 kB / 397.7 MB, free: 13.81 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.1288, allocations: 0 / 397.7 MB, free: 13.81 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003299/0.1291, allocations: 135.8 kB / 397.8 MB, free: 13.68 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004329/0.1295, allocations: 39.97 kB / 397.9 MB, free: 13.64 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002601/0.1321, allocations: 0.9726 MB / 398.9 MB, free: 12.63 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003466/0.1325, allocations: 0.7555 MB / 399.6 MB, free: 11.85 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.393e-05/0.1326, allocations: 27.44 kB / 399.6 MB, free: 11.82 MB / 302.1 MB Notification: Performance of SimCode: time 6.31e-07/0.1326, allocations: 0 / 399.6 MB, free: 11.82 MB / 302.1 MB Notification: Performance of Templates: time 0.005107/0.1377, allocations: 3.021 MB / 402.7 MB, free: 8.809 MB / 302.1 MB make -j1 -f ModelicaByExample_ModelicaByExample.Architectures.SensorComparison.Examples.FlatSystem.makefile make -j1 -f ModelicaByExample_ModelicaByExample.Architectures.SensorComparison.Examples.FlatSystem.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 OMCppModelicaByExample_ModelicaByExample.Architectures.SensorComparison.Examples.FlatSystemCalcHelperMain.o OMCppModelicaByExample_ModelicaByExample.Architectures.SensorComparison.Examples.FlatSystemCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaByExample_ModelicaByExample.Architectures.SensorComparison.Examples.FlatSystemCalcHelperMain.o] Error 1