Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Nand.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.Nand,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mp2.S.v",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Nand") translateModel(Modelica.Electrical.Spice3.Examples.Nand,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mp2.S.v",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Nand") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001182/0.001182, allocations: 92.22 kB / 16.96 MB, free: 6.41 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.001307/0.001307, allocations: 183.5 kB / 17.84 MB, free: 5.969 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.553/1.553, allocations: 223.3 MB / 241.9 MB, free: 14.61 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002777/0.0002777, allocations: 8 kB / 301.5 MB, free: 6.219 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1264/0.1267, allocations: 50.41 MB / 351.9 MB, free: 3.797 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Nand): time 0.01251/0.1393, allocations: 12.41 MB / 364.3 MB, free: 7.348 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.3361/0.4754, allocations: 18.48 MB / 382.8 MB, free: 8.23 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00313/0.4786, allocations: 61.75 kB / 382.8 MB, free: 8.199 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004115/0.4828, allocations: 0.8708 MB / 383.7 MB, free: 7.984 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01202/0.4948, allocations: 1.815 MB / 385.5 MB, free: 7.418 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007913/0.5028, allocations: 1.103 MB / 386.6 MB, free: 7.199 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01565/0.5184, allocations: 5.957 MB / 392.6 MB, free: 6.008 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001251/0.5197, allocations: 397.2 kB / 392.9 MB, free: 5.852 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002953/0.5227, allocations: 0.9142 MB / 393.9 MB, free: 5.574 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002545/0.5253, allocations: 0.9623 MB / 394.8 MB, free: 5.215 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002799/0.5256, allocations: 39.75 kB / 394.9 MB, free: 5.215 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007885/0.5334, allocations: 1.323 MB / 396.2 MB, free: 5.137 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006316/0.5341, allocations: 263.7 kB / 396.4 MB, free: 5.023 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001975/0.5361, allocations: 0.5921 MB / 397 MB, free: 4.875 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004475/0.5406, allocations: 2.604 MB / 399.6 MB, free: 3.676 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.797e-06/0.5406, allocations: 0 / 399.6 MB, free: 3.676 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.146e-06/0.5406, allocations: 0 / 399.6 MB, free: 3.676 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.827e-05/0.5407, allocations: 0 / 399.6 MB, free: 3.676 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.00566/0.5464, allocations: 3.106 MB / 402.7 MB, free: 1.582 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.807e-05/0.5465, allocations: 10.88 kB / 402.8 MB, free: 1.582 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004526/0.5469, allocations: 375.3 kB / 403.1 MB, free: 1.391 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003675/0.5506, allocations: 2.363 MB / 405.5 MB, free: 15.74 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.986e-05/0.5507, allocations: 38 kB / 405.5 MB, free: 15.72 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001254/0.5508, allocations: 49.45 kB / 405.6 MB, free: 15.7 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001377/0.5522, allocations: 0.7198 MB / 406.3 MB, free: 14.99 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.397e-05/0.5522, allocations: 0 / 406.3 MB, free: 14.99 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.399e-05/0.5523, allocations: 20 kB / 406.3 MB, free: 14.97 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.538e-05/0.5523, allocations: 19.98 kB / 406.3 MB, free: 14.95 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001608/0.5539, allocations: 0.8279 MB / 407.2 MB, free: 14.12 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005257/0.5592, allocations: 2.91 MB / 410.1 MB, free: 11.17 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001235/0.5605, allocations: 0.7368 MB / 410.8 MB, free: 10.41 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001136/0.5616, allocations: 0.6744 MB / 411.5 MB, free: 9.73 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03543/0.597, allocations: 30.11 MB / 441.6 MB, free: 7.516 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009048/0.598, allocations: 385.4 kB / 442 MB, free: 7.129 MB / 350.1 MB Notification: Performance of pre-optimization done (n=49): time 3.858e-06/0.598, allocations: 0 / 442 MB, free: 7.129 MB / 350.1 MB Notification: Performance of matching and sorting (n=49): time 0.004232/0.6023, allocations: 1.489 MB / 443.5 MB, free: 5.605 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.651e-05/0.6024, allocations: 63.39 kB / 443.5 MB, free: 5.531 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004872/0.6073, allocations: 2.76 MB / 446.3 MB, free: 2.75 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001167/0.6074, allocations: 37.7 kB / 446.3 MB, free: 2.707 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00172/0.6091, allocations: 1.387 MB / 447.7 MB, free: 1.312 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002845/0.6094, allocations: 173.7 kB / 447.9 MB, free: 1.141 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.9e-05/0.6095, allocations: 16 kB / 447.9 MB, free: 1.125 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002508/0.6097, allocations: 334 kB / 448.2 MB, free: 0.793 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006566/0.6104, allocations: 265.8 kB / 448.5 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009051/0.6113, allocations: 0.5969 MB / 449.1 MB, free: 15.77 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007151/0.612, allocations: 348.1 kB / 449.4 MB, free: 15.43 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.013e-05/0.6121, allocations: 4 kB / 449.4 MB, free: 15.43 MB / 366.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.003152/0.6152, allocations: 1.319 MB / 450.7 MB, free: 14.09 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.345e-05/0.6153, allocations: 8 kB / 450.7 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001235/0.6154, allocations: 83.98 kB / 450.8 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006308/0.616, allocations: 276.9 kB / 451.1 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005769/0.6166, allocations: 175.7 kB / 451.3 MB, free: 13.56 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001217/0.6179, allocations: 0.8832 MB / 452.1 MB, free: 12.65 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001731/0.6196, allocations: 115.9 kB / 452.3 MB, free: 12.54 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001367/0.6197, allocations: 64 kB / 452.3 MB, free: 12.48 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * Number of states: 0 () * Number of discrete variables: 14 ($PRE.vin1.counter,vin1.counter,$PRE.vin2.counter,vin2.counter,$whenCondition2,$whenCondition1,$PRE.vin1.T0,vin1.T0,$PRE.vin1.counter2,vin1.counter2,$PRE.vin2.T0,vin2.T0,$PRE.vin2.counter2,vin2.counter2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 85 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 12} Notification: Performance of prepare postOptimizeDAE: time 0.001203/0.621, allocations: 433.5 kB / 452.7 MB, free: 12.04 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005631/0.6215, allocations: 359.6 kB / 453.1 MB, free: 11.69 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003388/0.6249, allocations: 1.317 MB / 454.4 MB, free: 10.36 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.022e-05/0.625, allocations: 4 kB / 454.4 MB, free: 10.35 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.063e-05/0.625, allocations: 3.953 kB / 454.4 MB, free: 10.35 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.625, allocations: 0 / 454.4 MB, free: 10.35 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004429/0.6294, allocations: 2.224 MB / 456.6 MB, free: 8.035 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001139/0.6295, allocations: 71.98 kB / 456.7 MB, free: 7.965 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003188/0.6299, allocations: 76.03 kB / 456.8 MB, free: 7.891 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005102/0.6304, allocations: 272.7 kB / 457.1 MB, free: 7.621 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.103e-05/0.6305, allocations: 32 kB / 457.1 MB, free: 7.59 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001015/0.6315, allocations: 0.8491 MB / 457.9 MB, free: 6.715 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.206e-06/0.6315, allocations: 4.031 kB / 457.9 MB, free: 6.711 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002552/0.6341, allocations: 1.164 MB / 459.1 MB, free: 5.508 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001244/0.6353, allocations: 464.4 kB / 459.6 MB, free: 5.031 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002761/0.6356, allocations: 16 kB / 459.6 MB, free: 5.016 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006067/0.6362, allocations: 39.95 kB / 459.6 MB, free: 4.977 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001722/0.6364, allocations: 67.83 kB / 459.7 MB, free: 4.91 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.452e-05/0.6365, allocations: 36 kB / 459.7 MB, free: 4.875 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.002925/0.6394, allocations: 1.792 MB / 461.5 MB, free: 3.078 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.6394, allocations: 0 / 461.5 MB, free: 3.078 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001883/0.6413, allocations: 0.5623 MB / 462.1 MB, free: 2.516 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,vin1.T0,vin1.counter,vin1.counter2,vin2.T0,vin2.counter,vin2.counter2) * Number of discrete states: 4 (vin1.counter2,vin2.counter2,vin1.counter,vin2.counter) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.001402/0.6427, allocations: 0.7571 MB / 462.8 MB, free: 1.75 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001894/0.6446, allocations: 0.8774 MB / 463.7 MB, free: 0.8516 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.6447, allocations: 4 kB / 463.7 MB, free: 0.8477 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009326/0.6456, allocations: 0.5005 MB / 464.2 MB, free: 332 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002536/0.6481, allocations: 0.5815 MB / 464.8 MB, free: 15.74 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006697/0.6549, allocations: 4.487 MB / 469.3 MB, free: 11.2 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001178/0.6561, allocations: 1.601 MB / 470.9 MB, free: 9.57 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003124/0.6564, allocations: 163.4 kB / 471 MB, free: 9.41 MB / 382.1 MB Notification: Performance of SimCode: time 9.22e-07/0.6564, allocations: 0 / 471 MB, free: 9.41 MB / 382.1 MB Notification: Performance of Templates: time 0.06908/0.7255, allocations: 47.43 MB / 0.5063 GB, free: 10.11 MB / 430.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Nand.makefile make -j1 -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Nand.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.NandCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Electrical.Spice3.Examples.NandCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Electrical.Spice3.Examples.NandCalcHelperMain.o] Error 1