Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaByExample_ModelicaByExample.Architectures.SensorComparison.Examples.FlatSystem_Variation1.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_Variation1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaByExample_ModelicaByExample.Architectures.SensorComparison.Examples.FlatSystem_Variation1") translateModel(ModelicaByExample.Architectures.SensorComparison.Examples.FlatSystem_Variation1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaByExample_ModelicaByExample.Architectures.SensorComparison.Examples.FlatSystem_Variation1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01051/0.01051, allocations: 100.8 kB / 15.87 MB, free: 6.328 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.002213/0.002213, allocations: 194.6 kB / 16.79 MB, free: 6.254 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.643/1.643, allocations: 205.1 MB / 222.6 MB, free: 4.629 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.03862/0.03862, allocations: 8.12 MB / 278.1 MB, free: 13.22 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.001913/0.001913, allocations: 64.33 kB / 337.1 MB, free: 26.96 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1151/0.117, allocations: 48.31 MB / 385.5 MB, free: 10.61 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Architectures.SensorComparison.Examples.FlatSystem_Variation1): time 0.003822/0.1209, allocations: 2.458 MB / 387.9 MB, free: 8.129 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001187/0.1221, allocations: 0.6749 MB / 388.6 MB, free: 7.445 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001299/0.1223, allocations: 4 kB / 388.6 MB, free: 7.441 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001615/0.1225, allocations: 27.78 kB / 388.6 MB, free: 7.414 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001427/0.1226, allocations: 67.45 kB / 388.7 MB, free: 7.348 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002636/0.1229, allocations: 59.95 kB / 388.7 MB, free: 7.289 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003017/0.1232, allocations: 282.8 kB / 389 MB, free: 7.012 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002056/0.1234, allocations: 85.89 kB / 389.1 MB, free: 6.922 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001484/0.1236, allocations: 107.5 kB / 389.2 MB, free: 6.816 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001459/0.1237, allocations: 123.5 kB / 389.3 MB, free: 6.695 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.514e-05/0.1238, allocations: 16 kB / 389.3 MB, free: 6.68 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.876e-05/0.1238, allocations: 20 kB / 389.4 MB, free: 6.66 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.04e-05/0.1239, allocations: 43.83 kB / 389.4 MB, free: 6.617 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001351/0.1241, allocations: 115.4 kB / 389.5 MB, free: 6.504 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002408/0.1243, allocations: 211.7 kB / 389.7 MB, free: 6.297 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.037e-05/0.1243, allocations: 4 kB / 389.7 MB, free: 6.293 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.522e-06/0.1243, allocations: 0 / 389.7 MB, free: 6.293 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.883e-06/0.1243, allocations: 0 / 389.7 MB, free: 6.293 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.001252/0.1256, allocations: 0.5709 MB / 390.3 MB, free: 5.668 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.1257, allocations: 12.03 kB / 390.3 MB, free: 5.656 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.787e-05/0.1257, allocations: 24.66 kB / 390.3 MB, free: 5.633 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003025/0.126, allocations: 259.7 kB / 390.6 MB, free: 5.34 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.259e-05/0.1261, allocations: 20.8 kB / 390.6 MB, free: 5.32 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.181e-05/0.1261, allocations: 24.38 kB / 390.6 MB, free: 5.297 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005292/0.1267, allocations: 223.5 kB / 390.9 MB, free: 5.07 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.888e-05/0.1267, allocations: 8 kB / 390.9 MB, free: 5.062 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.533e-05/0.1267, allocations: 4 kB / 390.9 MB, free: 5.059 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.121e-05/0.1267, allocations: 8 kB / 390.9 MB, free: 5.051 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005688/0.1273, allocations: 193.6 kB / 391.1 MB, free: 4.863 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001152/0.1285, allocations: 0.67 MB / 391.7 MB, free: 4.141 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007443/0.1292, allocations: 252.6 kB / 392 MB, free: 3.887 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003097/0.1296, allocations: 121.2 kB / 392.1 MB, free: 3.766 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.554e-05/0.1296, allocations: 7.938 kB / 392.1 MB, free: 3.758 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004708/0.1301, allocations: 173.1 kB / 392.3 MB, free: 3.578 MB / 286.1 MB Notification: Performance of pre-optimization done (n=27): time 1.653e-06/0.1301, allocations: 0 / 392.3 MB, free: 3.578 MB / 286.1 MB Notification: Performance of matching and sorting (n=32): time 0.002612/0.1327, allocations: 1.196 MB / 393.5 MB, free: 2.293 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.949e-05/0.1328, allocations: 55.41 kB / 393.5 MB, free: 2.227 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001618/0.1329, allocations: 182.9 kB / 393.7 MB, free: 2.039 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.192e-05/0.133, allocations: 37.7 kB / 393.7 MB, free: 1.996 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.141e-05/0.1331, allocations: 140.7 kB / 393.9 MB, free: 1.855 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.987e-05/0.1332, allocations: 110.4 kB / 394 MB, free: 1.746 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.46e-05/0.1333, allocations: 53.69 kB / 394 MB, free: 1.688 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001225/0.1334, allocations: 334.8 kB / 394.4 MB, free: 1.352 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002918/0.1337, allocations: 100.3 kB / 394.5 MB, free: 1.254 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003012/0.134, allocations: 135.3 kB / 394.6 MB, free: 1.113 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001386/0.1354, allocations: 0.5543 MB / 395.1 MB, free: 0.5312 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.1354, allocations: 0 / 395.1 MB, free: 0.5312 MB / 286.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001016/0.1364, allocations: 358.4 kB / 395.5 MB, free: 172 kB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.584e-05/0.1365, allocations: 33.64 kB / 395.5 MB, free: 132 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/0.1365, allocations: 4 kB / 395.5 MB, free: 128 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.838e-05/0.1365, allocations: 4 kB / 395.5 MB, free: 124 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003126/0.1368, allocations: 79.94 kB / 395.6 MB, free: 44 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.402e-05/0.1369, allocations: 4 kB / 395.6 MB, free: 40 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002253/0.1371, allocations: 27.97 kB / 395.6 MB, free: 12 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.472e-05/0.1371, allocations: 11.94 kB / 395.7 MB, free: 0 / 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: 3 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,$PRE.trapezoid.count,$PRE.trapezoid.T_start,$PRE.speedSensor.w,trapezoid.count,trapezoid.T_start,speedSensor.w,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 38 * 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.0003205/0.1375, allocations: 168.7 kB / 395.8 MB, free: 15.83 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.841e-05/0.1375, allocations: 31.64 kB / 395.9 MB, free: 15.8 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.273e-05/0.1376, allocations: 30.64 kB / 395.9 MB, free: 15.77 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.231e-06/0.1376, allocations: 4 kB / 395.9 MB, free: 15.77 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.476e-06/0.1376, allocations: 0 / 395.9 MB, free: 15.77 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.67e-06/0.1376, allocations: 0 / 395.9 MB, free: 15.77 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001279/0.1389, allocations: 0.78 MB / 396.7 MB, free: 14.92 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.1389, allocations: 0 / 396.7 MB, free: 14.92 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003174/0.1392, allocations: 75.88 kB / 396.7 MB, free: 14.84 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.16e-06/0.1393, allocations: 4 kB / 396.7 MB, free: 14.84 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.315e-05/0.1393, allocations: 8 kB / 396.8 MB, free: 14.83 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.1393, allocations: 0 / 396.8 MB, free: 14.83 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.1393, allocations: 0 / 396.8 MB, free: 14.83 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00106/0.1404, allocations: 0.5356 MB / 397.3 MB, free: 14.27 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.425e-05/0.1404, allocations: 96.83 kB / 397.4 MB, free: 14.16 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.008e-05/0.1405, allocations: 8 kB / 397.4 MB, free: 14.15 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002341/0.1407, allocations: 28.02 kB / 397.4 MB, free: 14.12 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.563e-05/0.1408, allocations: 31.89 kB / 397.5 MB, free: 14.09 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.609e-05/0.1409, allocations: 8 kB / 397.5 MB, free: 14.09 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001071/0.141, allocations: 132.3 kB / 397.6 MB, free: 13.96 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.141, allocations: 0 / 397.6 MB, free: 13.96 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003088/0.1413, allocations: 67.98 kB / 397.7 MB, free: 13.89 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: 5 ($whenCondition2,$whenCondition1,speedSensor.w,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 (32): * Single equations (assignments): 29 * 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.0001254/0.1414, allocations: 107.5 kB / 397.8 MB, free: 13.77 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000726/0.1422, allocations: 318.9 kB / 398.1 MB, free: 13.45 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1422, allocations: 0 / 398.1 MB, free: 13.45 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003476/0.1425, allocations: 143.8 kB / 398.2 MB, free: 13.31 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004554/0.143, allocations: 59.61 kB / 398.3 MB, free: 13.25 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00263/0.1456, allocations: 1.008 MB / 399.3 MB, free: 12.21 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003917/0.146, allocations: 0.7561 MB / 400 MB, free: 11.43 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.164e-05/0.1461, allocations: 23.44 kB / 400.1 MB, free: 11.4 MB / 302.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1462, allocations: 4 kB / 400.1 MB, free: 11.4 MB / 302.1 MB Notification: Performance of Templates: time 0.005444/0.1516, allocations: 3.142 MB / 403.2 MB, free: 8.273 MB / 302.1 MB make -j1 -f ModelicaByExample_ModelicaByExample.Architectures.SensorComparison.Examples.FlatSystem_Variation1.makefile make -j1 -f ModelicaByExample_ModelicaByExample.Architectures.SensorComparison.Examples.FlatSystem_Variation1.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.FlatSystem_Variation1CalcHelperMain.o OMCppModelicaByExample_ModelicaByExample.Architectures.SensorComparison.Examples.FlatSystem_Variation1CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaByExample_ModelicaByExample.Architectures.SensorComparison.Examples.FlatSystem_Variation1CalcHelperMain.o] Error 1