Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.ResonanceCircuits,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|capacitor1.v|capacitor2.v|inductor2.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits") translateModel(Modelica.Electrical.Analog.Examples.ResonanceCircuits,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|capacitor1.v|capacitor2.v|inductor2.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009567/0.0009567, allocations: 91.28 kB / 16.95 MB, free: 5.551 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.001165/0.001165, allocations: 191.1 kB / 17.85 MB, free: 5.227 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.608/1.608, allocations: 223.2 MB / 241.9 MB, free: 132 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003083/0.0003085, allocations: 8 kB / 301.5 MB, free: 6.422 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1402/0.1405, allocations: 50.42 MB / 351.9 MB, free: 3.996 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ResonanceCircuits): time 0.006036/0.1466, allocations: 4.599 MB / 356.5 MB, free: 15.37 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003587/0.1502, allocations: 1.388 MB / 357.9 MB, free: 13.98 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001128/0.1514, allocations: 23.88 kB / 357.9 MB, free: 13.96 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007122/0.1521, allocations: 158.6 kB / 358 MB, free: 13.8 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001064/0.1532, allocations: 146.7 kB / 358.2 MB, free: 13.66 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001136/0.1544, allocations: 295.6 kB / 358.5 MB, free: 13.37 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001496/0.1559, allocations: 0.9973 MB / 359.5 MB, free: 12.36 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005861/0.1565, allocations: 354.2 kB / 359.8 MB, free: 12 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004701/0.157, allocations: 318.5 kB / 360.1 MB, free: 11.69 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004157/0.1574, allocations: 345.9 kB / 360.5 MB, free: 11.35 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.981e-05/0.1575, allocations: 44 kB / 360.5 MB, free: 11.3 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001644/0.1577, allocations: 48 kB / 360.5 MB, free: 11.26 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001431/0.1578, allocations: 155.2 kB / 360.7 MB, free: 11.11 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001793/0.158, allocations: 205 kB / 360.9 MB, free: 10.9 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007702/0.1588, allocations: 0.7754 MB / 361.7 MB, free: 10.12 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.703e-06/0.1588, allocations: 0 / 361.7 MB, free: 10.12 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.1588, allocations: 4 kB / 361.7 MB, free: 10.12 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.414e-05/0.1588, allocations: 3.938 kB / 361.7 MB, free: 10.11 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: 252 * Number of variables: 252 Notification: Performance of Generate backend data structure: time 0.001736/0.1606, allocations: 1.126 MB / 362.8 MB, free: 8.938 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/0.1606, allocations: 8.031 kB / 362.8 MB, free: 8.93 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001722/0.1608, allocations: 130.4 kB / 362.9 MB, free: 8.801 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009137/0.1617, allocations: 0.5879 MB / 363.5 MB, free: 8.168 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.17e-05/0.1618, allocations: 77.94 kB / 363.6 MB, free: 8.09 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000126/0.1619, allocations: 99.91 kB / 363.7 MB, free: 7.992 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001816/0.1638, allocations: 1.019 MB / 364.7 MB, free: 6.852 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.095e-05/0.1638, allocations: 7.938 kB / 364.7 MB, free: 6.844 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.734e-05/0.1639, allocations: 44 kB / 364.8 MB, free: 6.801 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.648e-05/0.1639, allocations: 32 kB / 364.8 MB, free: 6.77 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001168/0.1651, allocations: 0.5616 MB / 365.4 MB, free: 6.207 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005726/0.1709, allocations: 5.528 MB / 370.9 MB, free: 400 kB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005793/0.1715, allocations: 229 kB / 371.1 MB, free: 152 kB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.2581/0.4296, allocations: 161.3 kB / 371.3 MB, free: 25.32 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003125/0.43, allocations: 88.64 kB / 371.4 MB, free: 25.23 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.385e-05/0.43, allocations: 36.69 kB / 371.4 MB, free: 25.19 MB / 302.1 MB Notification: Performance of pre-optimization done (n=28): time 4.038e-06/0.43, allocations: 0 / 371.4 MB, free: 25.19 MB / 302.1 MB Notification: Performance of matching and sorting (n=40): time 0.005018/0.435, allocations: 1.769 MB / 373.2 MB, free: 24.47 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.248e-05/0.4351, allocations: 89.41 kB / 373.3 MB, free: 24.38 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001019/0.4361, allocations: 0.6267 MB / 373.9 MB, free: 24.23 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.033e-05/0.4362, allocations: 34.61 kB / 373.9 MB, free: 24.2 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004494/0.4366, allocations: 0.5987 MB / 374.5 MB, free: 23.84 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001193/0.4368, allocations: 143.7 kB / 374.7 MB, free: 23.73 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.399e-05/0.4368, allocations: 14.53 kB / 374.7 MB, free: 23.72 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001567/0.437, allocations: 391.3 kB / 375.1 MB, free: 23.38 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003585/0.4373, allocations: 156.8 kB / 375.2 MB, free: 23.33 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005671/0.4379, allocations: 0.4941 MB / 375.7 MB, free: 22.84 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004451/0.4384, allocations: 238.5 kB / 375.9 MB, free: 22.74 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.426e-06/0.4384, allocations: 4.531 kB / 375.9 MB, free: 22.74 MB / 302.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.0013/0.4397, allocations: 0.7292 MB / 376.7 MB, free: 22.43 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.629e-05/0.4397, allocations: 9.625 kB / 376.7 MB, free: 22.43 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.854e-05/0.4397, allocations: 12.38 kB / 376.7 MB, free: 22.43 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.05e-05/0.4398, allocations: 18.62 kB / 376.7 MB, free: 22.43 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006635/0.4405, allocations: 201.9 kB / 376.9 MB, free: 22.41 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.03e-05/0.4405, allocations: 27.11 kB / 376.9 MB, free: 22.4 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003923/0.4409, allocations: 43.05 kB / 377 MB, free: 22.39 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.849e-05/0.441, allocations: 36.41 kB / 377 MB, free: 22.38 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * 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 (96): * Single equations (assignments): 96 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003512/0.4413, allocations: 225.9 kB / 377.2 MB, free: 22.2 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001247/0.4415, allocations: 74.91 kB / 377.3 MB, free: 22.16 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001396/0.4416, allocations: 77.97 kB / 377.4 MB, free: 22.1 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.996e-06/0.4416, allocations: 5 kB / 377.4 MB, free: 22.1 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.346e-05/0.4416, allocations: 0 / 377.4 MB, free: 22.1 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.122e-05/0.4417, allocations: 11.52 kB / 377.4 MB, free: 22.09 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002437/0.4441, allocations: 1.349 MB / 378.7 MB, free: 21.35 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.102e-06/0.4441, allocations: 1.281 kB / 378.7 MB, free: 21.35 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004817/0.4446, allocations: 113.8 kB / 378.9 MB, free: 21.34 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.197e-06/0.4446, allocations: 3.328 kB / 378.9 MB, free: 21.34 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.084e-05/0.4447, allocations: 9.672 kB / 378.9 MB, free: 21.34 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.043e-06/0.4447, allocations: 4.219 kB / 378.9 MB, free: 21.34 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.063e-06/0.4447, allocations: 5.938 kB / 378.9 MB, free: 21.33 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001259/0.4459, allocations: 0.7211 MB / 379.6 MB, free: 20.89 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001393/0.4461, allocations: 141.5 kB / 379.7 MB, free: 20.76 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.563e-05/0.4462, allocations: 13.19 kB / 379.7 MB, free: 20.75 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000293/0.4465, allocations: 30.05 kB / 379.8 MB, free: 20.74 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001336/0.4466, allocations: 38.08 kB / 379.8 MB, free: 20.73 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.938e-05/0.4467, allocations: 18.36 kB / 379.8 MB, free: 20.72 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0006796/0.4474, allocations: 413.7 kB / 380.2 MB, free: 20.55 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4474, allocations: 0 / 380.2 MB, free: 20.55 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0009875/0.4484, allocations: 138.8 kB / 380.4 MB, free: 20.53 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (inductor2.i,capacitor2.v,inductor1.i,capacitor1.v) * 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 (40): * Single equations (assignments): 40 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001621/0.4485, allocations: 119.6 kB / 380.5 MB, free: 20.43 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001052/0.4496, allocations: 443.1 kB / 380.9 MB, free: 20.3 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.4496, allocations: 5.125 kB / 380.9 MB, free: 20.29 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002942/0.4499, allocations: 157.7 kB / 381.1 MB, free: 20.25 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005811/0.4505, allocations: 72.48 kB / 381.2 MB, free: 20.21 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004107/0.4546, allocations: 2.13 MB / 383.3 MB, free: 18.81 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008213/0.4555, allocations: 1.003 MB / 384.3 MB, free: 18.09 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000256/0.4557, allocations: 73.11 kB / 384.4 MB, free: 18.08 MB / 302.1 MB Notification: Performance of SimCode: time 1.663e-06/0.4557, allocations: 2.188 kB / 384.4 MB, free: 18.08 MB / 302.1 MB Notification: Performance of Templates: time 0.02908/0.4848, allocations: 9.054 MB / 393.4 MB, free: 14.45 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.makefile make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.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_4.0.0_Modelica.Electrical.Analog.Examples.ResonanceCircuitsCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Electrical.Analog.Examples.ResonanceCircuitsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Electrical.Analog.Examples.ResonanceCircuitsCalcHelperMain.o] Error 1