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.0006781/0.0006781, allocations: 92.16 kB / 16.02 MB, free: 76 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.0007168/0.0007168, allocations: 182.8 kB / 16.92 MB, free: 6.926 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.183/1.183, allocations: 205.4 MB / 223.1 MB, free: 5.512 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.03537/0.03537, allocations: 8.103 MB / 279.5 MB, free: 13.12 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.0004693/0.0004693, allocations: 23.98 kB / 339.5 MB, free: 26.68 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06817/0.06865, allocations: 49.28 MB / 388.8 MB, free: 9.352 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Architectures.SensorComparison.Examples.FlatSystem): time 0.002317/0.071, allocations: 2.084 MB / 390.9 MB, free: 7.25 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001041/0.07207, allocations: 0.6282 MB / 391.5 MB, free: 6.613 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001376/0.07223, allocations: 4 kB / 391.5 MB, free: 6.609 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001168/0.07236, allocations: 23.78 kB / 391.6 MB, free: 6.586 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000167/0.07253, allocations: 63.47 kB / 391.6 MB, free: 6.523 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002123/0.07275, allocations: 59.94 kB / 391.7 MB, free: 6.465 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002911/0.07305, allocations: 278.8 kB / 391.9 MB, free: 6.191 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001716/0.07323, allocations: 89.88 kB / 392 MB, free: 6.102 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001339/0.07338, allocations: 87.64 kB / 392.1 MB, free: 6.016 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001476/0.07353, allocations: 115.4 kB / 392.2 MB, free: 5.902 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.934e-05/0.07357, allocations: 16 kB / 392.2 MB, free: 5.887 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.901e-05/0.0736, allocations: 12 kB / 392.3 MB, free: 5.875 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.148e-05/0.07365, allocations: 43.78 kB / 392.3 MB, free: 5.832 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001177/0.07377, allocations: 141.1 kB / 392.4 MB, free: 5.688 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001767/0.07396, allocations: 191.7 kB / 392.6 MB, free: 5.5 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.07397, allocations: 0 / 392.6 MB, free: 5.5 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.07398, allocations: 3.938 kB / 392.6 MB, free: 5.496 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.529e-06/0.07399, allocations: 4 kB / 392.6 MB, free: 5.492 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.0008096/0.0748, allocations: 0.5436 MB / 393.2 MB, free: 4.891 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.055e-05/0.07484, allocations: 8.031 kB / 393.2 MB, free: 4.883 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.715e-05/0.0749, allocations: 28.66 kB / 393.2 MB, free: 4.855 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00024/0.07515, allocations: 236.6 kB / 393.4 MB, free: 4.586 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.887e-05/0.07519, allocations: 24.81 kB / 393.5 MB, free: 4.562 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.528e-05/0.07524, allocations: 20.28 kB / 393.5 MB, free: 4.543 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004721/0.07572, allocations: 239.5 kB / 393.7 MB, free: 4.301 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.457e-05/0.07574, allocations: 0 / 393.7 MB, free: 4.301 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.219e-05/0.07577, allocations: 8 kB / 393.7 MB, free: 4.293 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.164e-06/0.07578, allocations: 12 kB / 393.7 MB, free: 4.281 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000542/0.07633, allocations: 229.5 kB / 394 MB, free: 4.059 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009039/0.07725, allocations: 0.7176 MB / 394.7 MB, free: 3.277 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006547/0.07791, allocations: 266.5 kB / 394.9 MB, free: 3.008 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000295/0.07822, allocations: 132.8 kB / 395.1 MB, free: 2.875 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.835e-05/0.07824, allocations: 4 kB / 395.1 MB, free: 2.871 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003934/0.07864, allocations: 180.2 kB / 395.3 MB, free: 2.684 MB / 286.1 MB Notification: Performance of pre-optimization done (n=25): time 1.583e-06/0.07866, allocations: 0 / 395.3 MB, free: 2.684 MB / 286.1 MB Notification: Performance of matching and sorting (n=29): time 0.002231/0.08089, allocations: 1.204 MB / 396.5 MB, free: 1.391 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.974e-05/0.08094, allocations: 55.41 kB / 396.5 MB, free: 1.324 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001367/0.08109, allocations: 179.5 kB / 396.7 MB, free: 1.137 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.838e-05/0.08112, allocations: 29.7 kB / 396.7 MB, free: 1.102 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.396e-05/0.0812, allocations: 140.7 kB / 396.9 MB, free: 0.9609 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.187e-05/0.08128, allocations: 102.5 kB / 397 MB, free: 0.8594 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.786e-05/0.08132, allocations: 29.7 kB / 397 MB, free: 0.8242 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001037/0.08143, allocations: 330.8 kB / 397.3 MB, free: 0.4922 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002734/0.08171, allocations: 103.9 kB / 397.4 MB, free: 400 kB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000278/0.082, allocations: 145.4 kB / 397.5 MB, free: 248 kB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001271/0.08328, allocations: 0.5586 MB / 398.1 MB, free: 15.66 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.0833, allocations: 4 kB / 398.1 MB, free: 15.66 MB / 302.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006729/0.08397, allocations: 363.7 kB / 398.5 MB, free: 15.29 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.72e-05/0.08402, allocations: 37.64 kB / 398.5 MB, free: 15.25 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.08403, allocations: 0 / 398.5 MB, free: 15.25 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.075e-05/0.08405, allocations: 0 / 398.5 MB, free: 15.25 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002698/0.08432, allocations: 83.89 kB / 398.6 MB, free: 15.16 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.623e-06/0.08434, allocations: 3.984 kB / 398.6 MB, free: 15.16 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000198/0.08454, allocations: 32.02 kB / 398.6 MB, free: 15.13 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.837e-05/0.08457, allocations: 8 kB / 398.6 MB, free: 15.12 MB / 302.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.0001793/0.08476, allocations: 174.4 kB / 398.8 MB, free: 14.95 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.123e-05/0.08479, allocations: 27.75 kB / 398.8 MB, free: 14.92 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.61e-05/0.08486, allocations: 26.64 kB / 398.9 MB, free: 14.89 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.08487, allocations: 4 kB / 398.9 MB, free: 14.89 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.08488, allocations: 0 / 398.9 MB, free: 14.89 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.08488, allocations: 0 / 398.9 MB, free: 14.89 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001049/0.08594, allocations: 0.742 MB / 399.6 MB, free: 14.08 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.08595, allocations: 0 / 399.6 MB, free: 14.08 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002857/0.08624, allocations: 72.02 kB / 399.7 MB, free: 14.01 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.08625, allocations: 0 / 399.7 MB, free: 14.01 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.709e-05/0.08628, allocations: 8 kB / 399.7 MB, free: 14 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.08628, allocations: 0 / 399.7 MB, free: 14 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.419e-06/0.08629, allocations: 7.938 kB / 399.7 MB, free: 14 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009398/0.08724, allocations: 0.532 MB / 400.2 MB, free: 13.44 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.62e-05/0.0873, allocations: 96.86 kB / 400.3 MB, free: 13.33 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.14e-05/0.08734, allocations: 8 kB / 400.3 MB, free: 13.32 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002162/0.08756, allocations: 31.97 kB / 400.3 MB, free: 13.29 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.085e-05/0.08763, allocations: 23.97 kB / 400.4 MB, free: 13.27 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.598e-05/0.08765, allocations: 11.94 kB / 400.4 MB, free: 13.25 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.033e-05/0.08775, allocations: 132.6 kB / 400.5 MB, free: 13.12 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.172e-06/0.08776, allocations: 4 kB / 400.5 MB, free: 13.12 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002694/0.08803, allocations: 63.94 kB / 400.6 MB, free: 13.06 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 9.729e-05/0.08813, allocations: 99.25 kB / 400.7 MB, free: 12.95 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006437/0.08879, allocations: 328 kB / 401 MB, free: 12.62 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.0888, allocations: 7.938 kB / 401 MB, free: 12.61 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003071/0.08911, allocations: 139.8 kB / 401.1 MB, free: 12.47 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003954/0.08952, allocations: 52.03 kB / 401.2 MB, free: 12.42 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002333/0.09186, allocations: 1.065 MB / 402.3 MB, free: 11.32 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002663/0.09214, allocations: 0.7555 MB / 403 MB, free: 10.54 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.143e-05/0.09222, allocations: 23.42 kB / 403 MB, free: 10.52 MB / 302.1 MB Notification: Performance of SimCode: time 2.31e-07/0.09222, allocations: 0 / 403 MB, free: 10.52 MB / 302.1 MB Notification: Performance of Templates: time 0.004117/0.09634, allocations: 2.983 MB / 406 MB, free: 7.543 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