Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowVariableResistor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.ShowVariableResistor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|VariableResistor.i|R2.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowVariableResistor") translateModel(Modelica.Electrical.Analog.Examples.ShowVariableResistor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|VariableResistor.i|R2.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowVariableResistor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009464/0.0009528, allocations: 88.39 kB / 17.63 MB, free: 6.125 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001298/0.001299, allocations: 202.3 kB / 18.54 MB, free: 5.27 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.645/1.645, allocations: 227.3 MB / 246.6 MB, free: 10.3 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002577/0.0002577, allocations: 8 kB / 307.3 MB, free: 1.402 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1192/0.1195, allocations: 51.49 MB / 358.8 MB, free: 13.91 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowVariableResistor): time 0.003025/0.1226, allocations: 2.565 MB / 361.4 MB, free: 11.34 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001085/0.1237, allocations: 0.7014 MB / 362.1 MB, free: 10.63 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001315/0.1239, allocations: 12 kB / 362.1 MB, free: 10.62 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001433/0.124, allocations: 43.62 kB / 362.1 MB, free: 10.57 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001498/0.1242, allocations: 83.3 kB / 362.2 MB, free: 10.49 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002488/0.1244, allocations: 67.86 kB / 362.3 MB, free: 10.43 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003657/0.1248, allocations: 374.3 kB / 362.6 MB, free: 10.06 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002001/0.125, allocations: 93.62 kB / 362.7 MB, free: 9.969 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002304/0.1253, allocations: 135.5 kB / 362.8 MB, free: 9.836 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000187/0.1255, allocations: 139.4 kB / 363 MB, free: 9.699 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.91e-05/0.1255, allocations: 20 kB / 363 MB, free: 9.68 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.612e-05/0.1256, allocations: 19.98 kB / 363 MB, free: 9.66 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.41e-05/0.1256, allocations: 55.77 kB / 363.1 MB, free: 9.605 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.212e-05/0.1257, allocations: 85.58 kB / 363.2 MB, free: 9.516 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002857/0.126, allocations: 275.4 kB / 363.4 MB, free: 9.246 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.251e-06/0.126, allocations: 0 / 363.4 MB, free: 9.246 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.126, allocations: 4 kB / 363.4 MB, free: 9.242 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.805e-06/0.1261, allocations: 4 kB / 363.4 MB, free: 9.238 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.0009576/0.127, allocations: 0.5924 MB / 364 MB, free: 8.598 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.145e-05/0.1271, allocations: 8.031 kB / 364 MB, free: 8.59 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002167/0.1273, allocations: 47.61 kB / 364.1 MB, free: 8.543 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003521/0.1277, allocations: 266.5 kB / 364.3 MB, free: 8.242 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.396e-05/0.1277, allocations: 20.56 kB / 364.4 MB, free: 8.223 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.628e-05/0.1278, allocations: 28 kB / 364.4 MB, free: 8.195 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005435/0.1283, allocations: 268.8 kB / 364.7 MB, free: 7.93 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.279e-05/0.1283, allocations: 3.938 kB / 364.7 MB, free: 7.926 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.416e-05/0.1284, allocations: 12 kB / 364.7 MB, free: 7.914 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.659e-06/0.1284, allocations: 4 kB / 364.7 MB, free: 7.91 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005104/0.1289, allocations: 230.1 kB / 364.9 MB, free: 7.68 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001671/0.1306, allocations: 0.9911 MB / 365.9 MB, free: 6.621 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005223/0.1311, allocations: 320.1 kB / 366.2 MB, free: 6.281 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000212/0.1313, allocations: 117.7 kB / 366.3 MB, free: 6.168 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.372e-05/0.1314, allocations: 8.172 kB / 366.3 MB, free: 6.16 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.653e-05/0.1314, allocations: 34.75 kB / 366.4 MB, free: 6.117 MB / 302.1 MB Notification: Performance of pre-optimization done (n=21): time 1.362e-06/0.1314, allocations: 0 / 366.4 MB, free: 6.117 MB / 302.1 MB Notification: Performance of matching and sorting (n=21): time 0.001204/0.1326, allocations: 0.5914 MB / 367 MB, free: 5.48 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.086e-05/0.1327, allocations: 51.41 kB / 367 MB, free: 5.418 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002665/0.1329, allocations: 254.6 kB / 367.2 MB, free: 5.156 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.845e-05/0.133, allocations: 33.69 kB / 367.3 MB, free: 5.117 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000118/0.1331, allocations: 183.9 kB / 367.5 MB, free: 4.93 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.621e-05/0.1332, allocations: 67.02 kB / 367.5 MB, free: 4.863 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.099e-05/0.1332, allocations: 4 kB / 367.5 MB, free: 4.859 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001403/0.1333, allocations: 338.8 kB / 367.9 MB, free: 4.52 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001837/0.1335, allocations: 84.42 kB / 367.9 MB, free: 4.434 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002019/0.1337, allocations: 115.5 kB / 368.1 MB, free: 4.312 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002046/0.1339, allocations: 93.72 kB / 368.1 MB, free: 4.223 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.134, allocations: 0 / 368.1 MB, free: 4.223 MB / 302.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006019/0.1346, allocations: 334.7 kB / 368.5 MB, free: 3.883 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/0.1346, allocations: 8 kB / 368.5 MB, free: 3.875 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.1346, allocations: 4.062 kB / 368.5 MB, free: 3.871 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002872/0.1349, allocations: 69.67 kB / 368.6 MB, free: 3.797 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001826/0.1351, allocations: 47.91 kB / 368.6 MB, free: 3.75 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002271/0.1374, allocations: 2.835 MB / 371.4 MB, free: 0.6523 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001874/0.1376, allocations: 31.77 kB / 371.5 MB, free: 0.6211 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.854e-05/0.1376, allocations: 4 kB / 371.5 MB, free: 0.6172 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 18 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001692/0.1378, allocations: 145.8 kB / 371.6 MB, free: 476 kB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.79e-05/0.1378, allocations: 31.72 kB / 371.6 MB, free: 444 kB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.059e-05/0.1379, allocations: 26.17 kB / 371.7 MB, free: 420 kB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.217e-06/0.1379, allocations: 4 kB / 371.7 MB, free: 416 kB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.471e-05/0.138, allocations: 0 / 371.7 MB, free: 416 kB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.138, allocations: 3.938 kB / 371.7 MB, free: 412 kB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3024/0.4404, allocations: 0.6972 MB / 372.4 MB, free: 19.36 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-06/0.4404, allocations: 0 / 372.4 MB, free: 19.36 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001589/0.4406, allocations: 30.48 kB / 372.4 MB, free: 19.36 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002536/0.4408, allocations: 74.02 kB / 372.5 MB, free: 19.35 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.123e-05/0.4409, allocations: 3.688 kB / 372.5 MB, free: 19.35 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002043/0.4429, allocations: 2.821 MB / 375.3 MB, free: 16.87 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.4429, allocations: 3.844 kB / 375.3 MB, free: 16.87 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000719/0.4437, allocations: 394.8 kB / 375.7 MB, free: 16.72 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.479e-05/0.4438, allocations: 110.1 kB / 375.8 MB, free: 16.61 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.043e-05/0.4438, allocations: 2.734 kB / 375.8 MB, free: 16.61 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000264/0.4441, allocations: 42.84 kB / 375.8 MB, free: 16.61 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.886e-05/0.4442, allocations: 24.98 kB / 375.9 MB, free: 16.61 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.316e-05/0.4442, allocations: 7.844 kB / 375.9 MB, free: 16.61 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002177/0.4444, allocations: 183.8 kB / 376.1 MB, free: 16.53 MB / 302.1 MB Notification: Performance of sort global known variables: time 4.01e-07/0.4445, allocations: 0 / 376.1 MB, free: 16.53 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004643/0.4449, allocations: 95.19 kB / 376.1 MB, free: 16.53 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 11 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001984/0.4451, allocations: 110.2 kB / 376.3 MB, free: 16.44 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001143/0.4463, allocations: 456.9 kB / 376.7 MB, free: 16.21 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/0.4463, allocations: 0.5625 kB / 376.7 MB, free: 16.21 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006426/0.447, allocations: 361.8 kB / 377.1 MB, free: 15.98 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005565/0.4475, allocations: 47.67 kB / 377.1 MB, free: 15.98 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001369/0.4489, allocations: 0.6161 MB / 377.7 MB, free: 15.62 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004192/0.4493, allocations: 0.7781 MB / 378.5 MB, free: 14.91 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.974e-05/0.4494, allocations: 19.97 kB / 378.5 MB, free: 14.91 MB / 302.1 MB Notification: Performance of SimCode: time 3.71e-07/0.4494, allocations: 0 / 378.5 MB, free: 14.91 MB / 302.1 MB Notification: Performance of Templates: time 0.01225/0.4617, allocations: 5.573 MB / 384.1 MB, free: 14.21 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowVariableResistor.makefile make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowVariableResistor.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_trunk_Modelica.Electrical.Analog.Examples.ShowVariableResistorCalcHelperMain.o OMCppModelica_trunk_Modelica.Electrical.Analog.Examples.ShowVariableResistorCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Electrical.Analog.Examples.ShowVariableResistorCalcHelperMain.o] Error 1