Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Nor.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.Spice3.Examples.Nor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mn1.Dinternal|mn1.Sinternal|mn2.Dinternal|mn2.Sinternal|mp1.Dinternal|mp1.Sinternal|mp2.Dinternal|mp2.Sinternal",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Nor") translateModel(Modelica.Electrical.Spice3.Examples.Nor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mn1.Dinternal|mn1.Sinternal|mn2.Dinternal|mn2.Sinternal|mp1.Dinternal|mp1.Sinternal|mp2.Dinternal|mp2.Sinternal",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Nor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000938/0.0009382, allocations: 93.86 kB / 16.95 MB, free: 6.453 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.001164/0.001164, allocations: 179.2 kB / 17.84 MB, free: 6 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.479/1.479, allocations: 223.2 MB / 241.8 MB, free: 232 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002768/0.0002768, allocations: 8 kB / 301.4 MB, free: 6.426 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1298/0.1301, allocations: 50.42 MB / 351.9 MB, free: 4 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Nor): time 0.0126/0.1427, allocations: 12.56 MB / 364.4 MB, free: 7.398 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.2758/0.4186, allocations: 18.53 MB / 383 MB, free: 8.234 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002869/0.4215, allocations: 66.88 kB / 383 MB, free: 8.199 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003818/0.4253, allocations: 0.8732 MB / 383.9 MB, free: 7.984 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01093/0.4363, allocations: 1.829 MB / 385.7 MB, free: 7.414 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007546/0.4439, allocations: 1.112 MB / 386.8 MB, free: 7.195 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01473/0.4586, allocations: 6.017 MB / 392.8 MB, free: 5.992 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001785/0.4605, allocations: 397.4 kB / 393.2 MB, free: 5.832 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003448/0.4639, allocations: 0.9461 MB / 394.2 MB, free: 5.551 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003323/0.4673, allocations: 0.9862 MB / 395.2 MB, free: 5.188 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008806/0.4682, allocations: 44.19 kB / 395.2 MB, free: 5.188 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009512/0.4777, allocations: 1.33 MB / 396.5 MB, free: 5.105 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000714/0.4785, allocations: 272.1 kB / 396.8 MB, free: 4.988 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002257/0.4807, allocations: 0.5947 MB / 397.4 MB, free: 4.844 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004145/0.4849, allocations: 2.635 MB / 400 MB, free: 3.547 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.024e-05/0.4849, allocations: 7.438 kB / 400 MB, free: 3.543 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.454e-06/0.4849, allocations: 3.266 kB / 400 MB, free: 3.543 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.588e-05/0.485, allocations: 2.812 kB / 400 MB, free: 3.543 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: 149 * Number of variables: 149 Notification: Performance of Generate backend data structure: time 0.005222/0.4902, allocations: 3.162 MB / 403.2 MB, free: 1.43 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.001e-05/0.4903, allocations: 8.344 kB / 403.2 MB, free: 1.43 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003942/0.4907, allocations: 380.7 kB / 403.6 MB, free: 1.234 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003434/0.4941, allocations: 2.382 MB / 406 MB, free: 15.36 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.008e-05/0.4942, allocations: 40.92 kB / 406 MB, free: 15.32 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001347/0.4943, allocations: 51.91 kB / 406.1 MB, free: 15.27 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001689/0.496, allocations: 0.785 MB / 406.8 MB, free: 14.48 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.771e-05/0.496, allocations: 0 / 406.8 MB, free: 14.48 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.591e-05/0.4961, allocations: 20 kB / 406.9 MB, free: 14.46 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.692e-05/0.4961, allocations: 19.98 kB / 406.9 MB, free: 14.44 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001938/0.4981, allocations: 0.9178 MB / 407.8 MB, free: 13.52 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005485/0.5036, allocations: 3.005 MB / 410.8 MB, free: 10.47 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001796/0.5054, allocations: 0.8496 MB / 411.7 MB, free: 9.613 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001535/0.5069, allocations: 0.9955 MB / 412.7 MB, free: 8.621 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03493/0.5419, allocations: 30.1 MB / 442.8 MB, free: 6.449 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00122/0.5432, allocations: 0.6231 MB / 443.4 MB, free: 5.812 MB / 350.1 MB Notification: Performance of pre-optimization done (n=96): time 3.206e-06/0.5432, allocations: 0 / 443.4 MB, free: 5.812 MB / 350.1 MB Notification: Performance of matching and sorting (n=99): time 0.01305/0.5562, allocations: 5.713 MB / 449.1 MB, free: 15.84 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.747e-05/0.5563, allocations: 64.36 kB / 449.2 MB, free: 15.77 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003646/0.56, allocations: 2.661 MB / 451.8 MB, free: 13.09 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.737e-05/0.5601, allocations: 45.7 kB / 451.9 MB, free: 13.04 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001257/0.5613, allocations: 1.299 MB / 453.2 MB, free: 11.74 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003126/0.5616, allocations: 339.1 kB / 453.5 MB, free: 11.4 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.83e-05/0.5617, allocations: 20 kB / 453.5 MB, free: 11.38 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001822/0.5619, allocations: 349.9 kB / 453.9 MB, free: 11.04 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001243/0.5632, allocations: 0.5254 MB / 454.4 MB, free: 10.5 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001454/0.5646, allocations: 0.7056 MB / 455.1 MB, free: 9.738 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001302/0.5659, allocations: 0.5769 MB / 455.7 MB, free: 9.156 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.566, allocations: 0 / 455.7 MB, free: 9.156 MB / 366.1 MB Notification: Performance of matching and sorting (n=133) (initialization): time 0.004474/0.5704, allocations: 2.093 MB / 457.8 MB, free: 6.988 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.869e-05/0.5705, allocations: 8 kB / 457.8 MB, free: 6.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001771/0.5707, allocations: 120 kB / 457.9 MB, free: 6.863 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006741/0.5713, allocations: 268.8 kB / 458.1 MB, free: 6.57 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008653/0.5722, allocations: 231.6 kB / 458.4 MB, free: 6.344 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01117/0.5834, allocations: 13.24 MB / 471.6 MB, free: 7.777 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002464/0.5859, allocations: 120 kB / 471.7 MB, free: 7.66 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001844/0.5861, allocations: 59.98 kB / 471.8 MB, free: 7.602 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 21 ($PRE.v.counter,v.counter,$PRE.vin2.counter,vin2.counter,$PRE.vin1.counter,vin1.counter,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.vin1.T0,vin1.T0,$PRE.vin1.counter2,vin1.counter2,$PRE.vin2.T0,vin2.T0,$PRE.vin2.counter2,vin2.counter2,$PRE.v.T0,v.T0,$PRE.v.counter2,v.counter2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (97): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 10 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 3,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001304/0.5874, allocations: 436.4 kB / 472.2 MB, free: 7.168 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005927/0.588, allocations: 367.5 kB / 472.6 MB, free: 6.805 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005184/0.5932, allocations: 2.339 MB / 474.9 MB, free: 4.379 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.24e-05/0.5932, allocations: 8 kB / 474.9 MB, free: 4.371 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.027e-05/0.5933, allocations: 7.953 kB / 474.9 MB, free: 4.363 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.064e-05/0.5933, allocations: 7.984 kB / 474.9 MB, free: 4.355 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002516/0.5958, allocations: 1.539 MB / 476.5 MB, free: 2.766 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001747/0.596, allocations: 112 kB / 476.6 MB, free: 2.656 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006836/0.5967, allocations: 171.8 kB / 476.8 MB, free: 2.488 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006037/0.5973, allocations: 264.3 kB / 477 MB, free: 2.199 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.475e-05/0.5974, allocations: 47.97 kB / 477.1 MB, free: 2.152 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01152/0.6089, allocations: 13.24 MB / 490.3 MB, free: 3.582 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.369e-06/0.609, allocations: 0 / 490.3 MB, free: 3.582 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006307/0.6153, allocations: 2.727 MB / 493 MB, free: 0.7656 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001573/0.6169, allocations: 0.4887 MB / 493.5 MB, free: 260 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003117/0.6172, allocations: 20 kB / 493.5 MB, free: 240 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009263/0.6181, allocations: 115.9 kB / 493.6 MB, free: 124 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004215/0.6186, allocations: 144.8 kB / 493.8 MB, free: 15.98 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000117/0.6187, allocations: 51.98 kB / 493.8 MB, free: 15.93 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002941/0.6216, allocations: 1.731 MB / 495.6 MB, free: 14.19 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6217, allocations: 3.938 kB / 495.6 MB, free: 14.18 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002287/0.624, allocations: 0.66 MB / 496.2 MB, free: 13.52 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (mp1.Dinternal,mp1.Sinternal,mp2.Dinternal,mp2.Sinternal,mn1.Dinternal,mn1.Sinternal,mn2.Dinternal,mn2.Sinternal) * Number of discrete variables: 12 ($whenCondition3,$whenCondition2,$whenCondition1,vin1.T0,vin1.counter,vin1.counter2,vin2.T0,vin2.counter,vin2.counter2,v.T0,v.counter,v.counter2) * Number of discrete states: 6 (vin1.counter,vin2.counter,v.counter,vin1.counter2,vin2.counter2,v.counter2) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 9 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 10 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 3,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001372/0.6253, allocations: 0.7693 MB / 497 MB, free: 12.75 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004378/0.6297, allocations: 2.632 MB / 499.6 MB, free: 9.965 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 8.656e-06/0.6298, allocations: 0 / 499.6 MB, free: 9.965 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002696/0.6325, allocations: 2.019 MB / 0.4899 GB, free: 7.789 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003122/0.6356, allocations: 0.6071 MB / 0.4905 GB, free: 7.176 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00853/0.6441, allocations: 5.376 MB / 0.4957 GB, free: 1.766 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001287/0.6455, allocations: 1.658 MB / 0.4974 GB, free: 84 kB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005292/0.646, allocations: 171.5 kB / 0.4975 GB, free: 15.91 MB / 430.1 MB Notification: Performance of SimCode: time 1.984e-06/0.646, allocations: 0 / 0.4975 GB, free: 15.91 MB / 430.1 MB Notification: Performance of Templates: time 0.4004/1.046, allocations: 153.6 MB / 0.6475 GB, free: 48.98 MB / 446.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Nor.makefile make -j1 -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Nor.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.Spice3.Examples.NorCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Electrical.Spice3.Examples.NorCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Electrical.Spice3.Examples.NorCalcHelperMain.o] Error 1