Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator.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.Spice3.Examples.Oscillator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T1.vbe|T2.vbe",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator") translateModel(Modelica.Electrical.Spice3.Examples.Oscillator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T1.vbe|T2.vbe",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001735/0.001735, allocations: 105.4 kB / 17.8 MB, free: 5.688 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.001854/0.001854, allocations: 197.9 kB / 18.73 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 1.848/1.848, allocations: 205.1 MB / 224.6 MB, free: 12.47 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.001265/0.001265, allocations: 47.94 kB / 280.6 MB, free: 3.586 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1452/0.1465, allocations: 46.63 MB / 327.2 MB, free: 4.895 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Oscillator): time 0.01054/0.1571, allocations: 7.301 MB / 334.5 MB, free: 13.56 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01843/0.1756, allocations: 10.63 MB / 345.2 MB, free: 2.891 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002529/0.1782, allocations: 35.69 kB / 345.2 MB, free: 2.855 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003171/0.1815, allocations: 0.6139 MB / 345.8 MB, free: 2.234 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006762/0.1883, allocations: 0.9563 MB / 346.8 MB, free: 1.273 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002867/0.1912, allocations: 487.8 kB / 347.3 MB, free: 0.793 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.00631/0.1975, allocations: 2.412 MB / 349.7 MB, free: 14.37 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007402/0.1983, allocations: 260.3 kB / 349.9 MB, free: 14.09 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009534/0.1993, allocations: 429.7 kB / 350.3 MB, free: 13.67 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007406/0.2, allocations: 0.5162 MB / 350.9 MB, free: 13.15 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001229/0.2002, allocations: 36 kB / 350.9 MB, free: 13.12 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002983/0.2032, allocations: 0.6791 MB / 351.6 MB, free: 12.44 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000227/0.2034, allocations: 170.8 kB / 351.7 MB, free: 12.27 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009268/0.2044, allocations: 0.6598 MB / 352.4 MB, free: 11.61 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002058/0.2064, allocations: 1.422 MB / 353.8 MB, free: 10.18 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.2065, allocations: 4 kB / 353.8 MB, free: 10.18 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.2065, allocations: 0 / 353.8 MB, free: 10.18 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.794e-05/0.2065, allocations: 0 / 353.8 MB, free: 10.18 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: 131 * Number of variables: 131 Notification: Performance of Generate backend data structure: time 0.004328/0.2108, allocations: 1.977 MB / 355.8 MB, free: 8.137 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.778e-05/0.2109, allocations: 12.03 kB / 355.8 MB, free: 8.125 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004426/0.2114, allocations: 198.6 kB / 356 MB, free: 7.93 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003019/0.2144, allocations: 1.341 MB / 357.3 MB, free: 6.543 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.946e-05/0.2145, allocations: 29 kB / 357.4 MB, free: 6.516 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000143/0.2146, allocations: 47.94 kB / 357.4 MB, free: 6.469 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001417/0.216, allocations: 0.5196 MB / 357.9 MB, free: 5.945 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.201e-05/0.2161, allocations: 3.984 kB / 357.9 MB, free: 5.941 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.27e-05/0.2162, allocations: 16 kB / 358 MB, free: 5.926 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.965e-05/0.2162, allocations: 16 kB / 358 MB, free: 5.91 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001448/0.2177, allocations: 472.1 kB / 358.4 MB, free: 5.445 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004867/0.2225, allocations: 2.104 MB / 360.5 MB, free: 3.258 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001506/0.2241, allocations: 0.7041 MB / 361.2 MB, free: 2.508 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001092/0.2252, allocations: 0.5135 MB / 361.8 MB, free: 1.992 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01158/0.2368, allocations: 6.513 MB / 368.3 MB, free: 10.49 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007407/0.2376, allocations: 286.6 kB / 368.6 MB, free: 10.2 MB / 318.1 MB Notification: Performance of pre-optimization done (n=55): time 5.19e-06/0.2376, allocations: 0 / 368.6 MB, free: 10.2 MB / 318.1 MB Notification: Performance of matching and sorting (n=59): time 0.00501/0.2426, allocations: 1.975 MB / 370.5 MB, free: 8.16 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.04e-05/0.2428, allocations: 55.84 kB / 370.6 MB, free: 8.094 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002281/0.245, allocations: 1.3 MB / 371.9 MB, free: 6.797 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.089e-05/0.2451, allocations: 33.7 kB / 371.9 MB, free: 6.758 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000685/0.2458, allocations: 0.7072 MB / 372.6 MB, free: 6.047 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001946/0.246, allocations: 205 kB / 372.8 MB, free: 5.844 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002045/0.2462, allocations: 118.2 kB / 372.9 MB, free: 5.723 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001422/0.2464, allocations: 334 kB / 373.3 MB, free: 5.391 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000558/0.2469, allocations: 205.5 kB / 373.5 MB, free: 5.191 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005852/0.2475, allocations: 359.8 kB / 373.8 MB, free: 4.773 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002398/0.2499, allocations: 1.127 MB / 374.9 MB, free: 3.574 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-06/0.25, allocations: 4 kB / 374.9 MB, free: 3.57 MB / 318.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002029/0.252, allocations: 0.918 MB / 375.9 MB, free: 2.641 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.374e-05/0.2521, allocations: 8.625 kB / 375.9 MB, free: 2.633 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000118/0.2522, allocations: 63.98 kB / 375.9 MB, free: 2.57 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004731/0.2527, allocations: 155.9 kB / 376.1 MB, free: 2.418 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000458/0.2531, allocations: 111.8 kB / 376.2 MB, free: 2.309 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3093/0.5625, allocations: 2.291 MB / 378.5 MB, free: 52.84 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009283/0.5635, allocations: 30.53 kB / 378.5 MB, free: 52.84 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.445e-05/0.5636, allocations: 34.41 kB / 378.5 MB, free: 52.84 MB / 318.1 MB Warning: Assuming fixed start value for the following 2 variables: T2.vbx:VARIABLE(unit = "V" fixed = true ) type: Real T1.vbx:VARIABLE(unit = "V" fixed = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 7 (v.counter,$PRE.v.counter,v.counter2,$PRE.v.counter2,v.T0,$PRE.v.T0,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,14,81.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007781/0.5644, allocations: 276.6 kB / 378.8 MB, free: 52.73 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002731/0.5647, allocations: 183.2 kB / 379 MB, free: 52.73 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002274/0.5669, allocations: 0.8847 MB / 379.9 MB, free: 52.66 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-05/0.567, allocations: 5.375 kB / 379.9 MB, free: 52.66 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.177e-05/0.567, allocations: 3.594 kB / 379.9 MB, free: 52.66 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.324e-05/0.567, allocations: 2.859 kB / 379.9 MB, free: 52.66 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00202/0.569, allocations: 0.8681 MB / 380.8 MB, free: 52.46 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001601/0.5692, allocations: 58.59 kB / 380.8 MB, free: 52.46 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003951/0.5696, allocations: 62.36 kB / 380.9 MB, free: 52.46 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005051/0.5701, allocations: 152.5 kB / 381 MB, free: 52.45 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.916e-05/0.5702, allocations: 20.06 kB / 381 MB, free: 52.45 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003194/0.5734, allocations: 2.28 MB / 383.3 MB, free: 50.96 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.5734, allocations: 1.406 kB / 383.3 MB, free: 50.96 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002471/0.5759, allocations: 1.065 MB / 384.4 MB, free: 50.57 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004638/0.5764, allocations: 246.2 kB / 384.6 MB, free: 50.4 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001329/0.5765, allocations: 11.86 kB / 384.6 MB, free: 50.39 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003495/0.5769, allocations: 20.2 kB / 384.7 MB, free: 50.39 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001918/0.5771, allocations: 51.31 kB / 384.7 MB, free: 50.38 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.471e-05/0.5772, allocations: 19.95 kB / 384.7 MB, free: 50.38 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.002079/0.5792, allocations: 0.8586 MB / 385.6 MB, free: 50.05 MB / 318.1 MB Notification: Performance of sort global known variables: time 3.51e-07/0.5793, allocations: 5.094 kB / 385.6 MB, free: 50.05 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001616/0.5809, allocations: 379.8 kB / 386 MB, free: 50.03 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (T1.vbe,T1.vbx,T2.vbe,T2.vbx) * Number of discrete variables: 4 ($whenCondition1,v.T0,v.counter,v.counter2) * Number of discrete states: 2 (v.counter,v.counter2) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,14,81.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001191/0.5821, allocations: 450.9 kB / 386.4 MB, free: 49.93 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001991/0.5841, allocations: 0.8417 MB / 387.3 MB, free: 49.53 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.558e-06/0.5841, allocations: 3.828 kB / 387.3 MB, free: 49.53 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001103/0.5852, allocations: 0.5753 MB / 387.8 MB, free: 49.21 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008627/0.5861, allocations: 179.6 kB / 388 MB, free: 49.13 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005765/0.5919, allocations: 2.883 MB / 390.9 MB, free: 47.44 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001176/0.5931, allocations: 1.171 MB / 392.1 MB, free: 46.71 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00026/0.5933, allocations: 90.56 kB / 392.2 MB, free: 46.7 MB / 318.1 MB Notification: Performance of SimCode: time 1.192e-06/0.5934, allocations: 3.938 kB / 392.2 MB, free: 46.7 MB / 318.1 MB Notification: Performance of Templates: time 0.03922/0.6326, allocations: 23.97 MB / 416.1 MB, free: 27.52 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator.makefile make -j1 -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator.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.Spice3.Examples.OscillatorCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Electrical.Spice3.Examples.OscillatorCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Electrical.Spice3.Examples.OscillatorCalcHelperMain.o] Error 1