Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowVariableResistor.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.Electrical.Analog.Examples.ShowVariableResistor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|VariableResistor.i|R2.i",fileNamePrefix="Modelica_3.2.3_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_3.2.3_Modelica.Electrical.Analog.Examples.ShowVariableResistor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001106/0.001106, allocations: 91.09 kB / 17.95 MB, free: 5.625 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.0009969/0.0009972, allocations: 180.6 kB / 18.86 MB, free: 4.77 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.015/2.015, allocations: 205.4 MB / 225 MB, free: 13.07 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.0005962/0.0005963, allocations: 12 kB / 282 MB, free: 3.418 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1339/0.1346, allocations: 47.58 MB / 329.6 MB, free: 3.762 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowVariableResistor): time 0.003408/0.138, allocations: 2.636 MB / 332.2 MB, free: 1.105 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001414/0.1395, allocations: 0.706 MB / 332.9 MB, free: 400 kB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001613/0.1397, allocations: 15.88 kB / 333 MB, free: 384 kB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001672/0.1399, allocations: 39.69 kB / 333 MB, free: 344 kB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001987/0.1401, allocations: 91.23 kB / 333.1 MB, free: 252 kB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000284/0.1404, allocations: 79.86 kB / 333.2 MB, free: 172 kB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004529/0.1408, allocations: 390.2 kB / 333.6 MB, free: 15.79 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002198/0.1411, allocations: 83.69 kB / 333.6 MB, free: 15.71 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002242/0.1413, allocations: 131.5 kB / 333.8 MB, free: 15.58 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002106/0.1415, allocations: 147.3 kB / 333.9 MB, free: 15.43 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.508e-05/0.1416, allocations: 19.94 kB / 333.9 MB, free: 15.41 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.5e-05/0.1416, allocations: 20 kB / 333.9 MB, free: 15.39 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.557e-05/0.1417, allocations: 59.69 kB / 334 MB, free: 15.34 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001767/0.1419, allocations: 176.9 kB / 334.2 MB, free: 15.16 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002786/0.1422, allocations: 275.5 kB / 334.4 MB, free: 14.89 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.1422, allocations: 0 / 334.4 MB, free: 14.89 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.1422, allocations: 0 / 334.4 MB, free: 14.89 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.943e-06/0.1422, allocations: 0 / 334.4 MB, free: 14.89 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: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.001052/0.1433, allocations: 0.6003 MB / 335 MB, free: 14.24 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.778e-05/0.1433, allocations: 8.031 kB / 335.1 MB, free: 14.23 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.717e-05/0.1434, allocations: 36.56 kB / 335.1 MB, free: 14.2 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003312/0.1437, allocations: 279.5 kB / 335.4 MB, free: 13.88 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.293e-05/0.1438, allocations: 20.94 kB / 335.4 MB, free: 13.86 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.287e-05/0.1438, allocations: 28.38 kB / 335.4 MB, free: 13.84 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005389/0.1444, allocations: 273.1 kB / 335.7 MB, free: 13.56 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.1444, allocations: 0 / 335.7 MB, free: 13.56 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.535e-05/0.1444, allocations: 16 kB / 335.7 MB, free: 13.55 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.814e-05/0.1445, allocations: 8 kB / 335.7 MB, free: 13.54 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004951/0.145, allocations: 234.1 kB / 335.9 MB, free: 13.31 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001907/0.1469, allocations: 0.9872 MB / 336.9 MB, free: 12.25 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006386/0.1475, allocations: 307.8 kB / 337.2 MB, free: 11.93 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002492/0.1478, allocations: 112.8 kB / 337.3 MB, free: 11.81 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.367e-05/0.1478, allocations: 4 kB / 337.3 MB, free: 11.81 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.636e-05/0.1479, allocations: 38.56 kB / 337.4 MB, free: 11.76 MB / 286.1 MB Notification: Performance of pre-optimization done (n=21): time 2.305e-06/0.1479, allocations: 4 kB / 337.4 MB, free: 11.76 MB / 286.1 MB Notification: Performance of matching and sorting (n=21): time 0.001577/0.1495, allocations: 0.5832 MB / 338 MB, free: 11.12 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.566e-05/0.1496, allocations: 55.41 kB / 338 MB, free: 11.06 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003542/0.1499, allocations: 262.6 kB / 338.3 MB, free: 10.79 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 6.398e-05/0.15, allocations: 33.64 kB / 338.3 MB, free: 10.75 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001973/0.1502, allocations: 183.9 kB / 338.5 MB, free: 10.56 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.669e-05/0.1503, allocations: 70.91 kB / 338.5 MB, free: 10.49 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.106e-05/0.1504, allocations: 25.72 kB / 338.6 MB, free: 10.46 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002735/0.1507, allocations: 334.8 kB / 338.9 MB, free: 10.12 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002428/0.1509, allocations: 84.42 kB / 339 MB, free: 10.04 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002453/0.1512, allocations: 115.4 kB / 339.1 MB, free: 9.922 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004676/0.1517, allocations: 218.3 kB / 339.3 MB, free: 9.699 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.1517, allocations: 0 / 339.3 MB, free: 9.699 MB / 286.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006965/0.1524, allocations: 338.8 kB / 339.6 MB, free: 9.355 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.691e-05/0.1524, allocations: 4 kB / 339.6 MB, free: 9.352 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.136e-05/0.1524, allocations: 4 kB / 339.6 MB, free: 9.348 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003449/0.1528, allocations: 73.61 kB / 339.7 MB, free: 9.27 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001987/0.153, allocations: 39.97 kB / 339.8 MB, free: 9.23 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002731/0.1557, allocations: 2.838 MB / 342.6 MB, free: 6.125 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002377/0.156, allocations: 35.92 kB / 342.6 MB, free: 6.09 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.255e-05/0.156, allocations: 8 kB / 342.6 MB, free: 6.082 MB / 286.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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002047/0.1562, allocations: 133.8 kB / 342.8 MB, free: 5.941 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.699e-05/0.1563, allocations: 23.72 kB / 342.8 MB, free: 5.918 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.25e-05/0.1564, allocations: 30.17 kB / 342.8 MB, free: 5.891 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.1564, allocations: 3.938 kB / 342.8 MB, free: 5.887 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.198e-05/0.1564, allocations: 7.938 kB / 342.8 MB, free: 5.879 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.1564, allocations: 4 kB / 342.8 MB, free: 5.875 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001175/0.1576, allocations: 0.695 MB / 343.5 MB, free: 5.117 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.1576, allocations: 0 / 343.5 MB, free: 5.117 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001375/0.1577, allocations: 35.91 kB / 343.6 MB, free: 5.082 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002164/0.158, allocations: 81.8 kB / 343.6 MB, free: 4.996 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.927e-05/0.158, allocations: 8 kB / 343.7 MB, free: 4.988 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002651/0.1606, allocations: 2.827 MB / 346.5 MB, free: 1.898 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.686e-06/0.1607, allocations: 4.031 kB / 346.5 MB, free: 1.895 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006573/0.1613, allocations: 393.6 kB / 346.9 MB, free: 1.488 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.746e-05/0.1614, allocations: 104.8 kB / 347 MB, free: 1.367 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.797e-05/0.1615, allocations: 8 kB / 347 MB, free: 1.359 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002594/0.1617, allocations: 35.97 kB / 347 MB, free: 1.324 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.67e-05/0.1618, allocations: 19.92 kB / 347 MB, free: 1.305 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.984e-05/0.1619, allocations: 11.98 kB / 347 MB, free: 1.293 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002019/0.1621, allocations: 189.9 kB / 347.2 MB, free: 1.105 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1621, allocations: 0 / 347.2 MB, free: 1.105 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.000446/0.1625, allocations: 91.84 kB / 347.3 MB, free: 1.016 MB / 286.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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001495/0.1627, allocations: 111.2 kB / 347.4 MB, free: 0.8945 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.000815/0.1635, allocations: 457.1 kB / 347.9 MB, free: 432 kB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.1635, allocations: 0 / 347.9 MB, free: 432 kB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004715/0.164, allocations: 361.3 kB / 348.2 MB, free: 44 kB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004949/0.1645, allocations: 52.48 kB / 348.3 MB, free: 15.99 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001046/0.1656, allocations: 0.6581 MB / 348.9 MB, free: 15.3 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003543/0.1659, allocations: 0.76 MB / 349.7 MB, free: 14.51 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7e-05/0.166, allocations: 19.44 kB / 349.7 MB, free: 14.49 MB / 302.1 MB Notification: Performance of SimCode: time 6.61e-07/0.166, allocations: 0 / 349.7 MB, free: 14.49 MB / 302.1 MB Notification: Performance of Templates: time 0.008515/0.1745, allocations: 5.574 MB / 355.3 MB, free: 8.914 MB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowVariableResistor.makefile make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowVariableResistor.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 OMCppModelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowVariableResistorCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowVariableResistorCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowVariableResistorCalcHelperMain.o] Error 1