Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.NandGate.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.NandGate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Nand.C4.v|Nand.C7.v",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.NandGate") translateModel(Modelica.Electrical.Analog.Examples.NandGate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Nand.C4.v|Nand.C7.v",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.NandGate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001107/0.001107, allocations: 89.16 kB / 16.95 MB, free: 5.66 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.001252/0.001252, allocations: 187 kB / 17.85 MB, free: 5.312 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.636/1.636, allocations: 223.2 MB / 241.9 MB, free: 14.6 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003879/0.0003882, allocations: 8 kB / 301.5 MB, free: 6.227 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1457/0.1461, allocations: 50.42 MB / 351.9 MB, free: 3.797 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.NandGate): time 0.003825/0.15, allocations: 3.627 MB / 355.5 MB, free: 152 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00208/0.1521, allocations: 1.141 MB / 356.6 MB, free: 15 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003413/0.1525, allocations: 12 kB / 356.7 MB, free: 14.99 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002084/0.1527, allocations: 75.33 kB / 356.7 MB, free: 14.91 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003429/0.153, allocations: 150.8 kB / 356.9 MB, free: 14.77 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005574/0.1536, allocations: 191.7 kB / 357.1 MB, free: 14.58 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008679/0.1545, allocations: 0.9488 MB / 358 MB, free: 13.62 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003507/0.1548, allocations: 212 kB / 358.2 MB, free: 13.41 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003403/0.1552, allocations: 318.9 kB / 358.5 MB, free: 13.09 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000399/0.1556, allocations: 386.4 kB / 358.9 MB, free: 12.71 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.665e-05/0.1557, allocations: 51.94 kB / 359 MB, free: 12.66 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.546e-05/0.1558, allocations: 48 kB / 359 MB, free: 12.62 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001413/0.1559, allocations: 151.4 kB / 359.2 MB, free: 12.47 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000149/0.1561, allocations: 161.3 kB / 359.3 MB, free: 12.3 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007262/0.1568, allocations: 0.9312 MB / 360.2 MB, free: 11.37 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.1569, allocations: 4 kB / 360.2 MB, free: 11.37 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.983e-06/0.1569, allocations: 0 / 360.2 MB, free: 11.37 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.019e-05/0.1569, allocations: 0 / 360.2 MB, free: 11.37 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: 147 * Number of variables: 147 Notification: Performance of Generate backend data structure: time 0.002475/0.1594, allocations: 1.212 MB / 361.5 MB, free: 10.09 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/0.1594, allocations: 8.031 kB / 361.5 MB, free: 10.08 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001433/0.1596, allocations: 83.06 kB / 361.5 MB, free: 10 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005597/0.1601, allocations: 464.6 kB / 362 MB, free: 9.504 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.831e-05/0.1602, allocations: 45.3 kB / 362 MB, free: 9.461 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001009/0.1603, allocations: 60 kB / 362.1 MB, free: 9.402 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002034/0.1623, allocations: 1.035 MB / 363.1 MB, free: 8.301 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.48e-05/0.1624, allocations: 0 / 363.1 MB, free: 8.301 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.049e-05/0.1624, allocations: 28 kB / 363.2 MB, free: 8.273 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.951e-05/0.1625, allocations: 23.95 kB / 363.2 MB, free: 8.25 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002712/0.1652, allocations: 1.155 MB / 364.3 MB, free: 7.098 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00464/0.1698, allocations: 3.27 MB / 367.6 MB, free: 3.695 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002215/0.1721, allocations: 1.029 MB / 368.6 MB, free: 2.625 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001084/0.1732, allocations: 498.2 kB / 369.1 MB, free: 2.133 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.251e-05/0.1733, allocations: 12.5 kB / 369.1 MB, free: 2.121 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001194/0.1745, allocations: 0.5127 MB / 369.7 MB, free: 1.598 MB / 302.1 MB Notification: Performance of pre-optimization done (n=50): time 2.655e-06/0.1745, allocations: 0 / 369.7 MB, free: 1.598 MB / 302.1 MB Notification: Performance of matching and sorting (n=50): time 0.003086/0.1776, allocations: 1.275 MB / 370.9 MB, free: 324 kB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.2646/0.4422, allocations: 373.1 kB / 371.3 MB, free: 24.82 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001364/0.4436, allocations: 0.5636 MB / 371.9 MB, free: 24.7 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002483/0.4439, allocations: 39.14 kB / 371.9 MB, free: 24.67 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003162/0.4442, allocations: 371 kB / 372.3 MB, free: 24.54 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001891/0.4444, allocations: 169.5 kB / 372.4 MB, free: 24.43 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.623e-05/0.4445, allocations: 13.41 kB / 372.4 MB, free: 24.43 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001489/0.4446, allocations: 373.1 kB / 372.8 MB, free: 24.12 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001367/0.446, allocations: 463 kB / 373.3 MB, free: 24.12 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001683/0.4477, allocations: 0.7327 MB / 374 MB, free: 23.8 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001475/0.4492, allocations: 0.5303 MB / 374.5 MB, free: 23.71 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.147e-06/0.4492, allocations: 2.375 kB / 374.5 MB, free: 23.71 MB / 302.1 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.003383/0.4526, allocations: 1.249 MB / 375.8 MB, free: 23.45 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.502e-05/0.4527, allocations: 67.06 kB / 375.8 MB, free: 23.38 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.959e-05/0.4527, allocations: 5.656 kB / 375.8 MB, free: 23.38 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.929e-05/0.4528, allocations: 13.12 kB / 375.9 MB, free: 23.38 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001082/0.4538, allocations: 247.5 kB / 376.1 MB, free: 23.36 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.501e-05/0.4539, allocations: 15.33 kB / 376.1 MB, free: 23.36 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001249/0.4551, allocations: 231.9 kB / 376.3 MB, free: 23.29 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.223e-05/0.4552, allocations: 30.38 kB / 376.4 MB, free: 23.29 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$whenCondition1,$PRE.VIN1.signalSource.T_start,VIN1.signalSource.T_start,$PRE.VIN1.signalSource.count,VIN1.signalSource.count,$PRE.VIN2.signalSource.T_start,VIN2.signalSource.T_start,$PRE.VIN2.signalSource.count,VIN2.signalSource.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (89): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 2 * 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.0003837/0.4556, allocations: 224.5 kB / 376.6 MB, free: 23.1 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000121/0.4558, allocations: 63.14 kB / 376.6 MB, free: 23.07 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000167/0.4559, allocations: 71.41 kB / 376.7 MB, free: 23.02 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-05/0.456, allocations: 9.719 kB / 376.7 MB, free: 23.02 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.147e-05/0.456, allocations: 4.703 kB / 376.7 MB, free: 23.02 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.013e-05/0.456, allocations: 2.953 kB / 376.7 MB, free: 23.02 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003964/0.46, allocations: 1.796 MB / 378.5 MB, free: 22.21 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.624e-06/0.46, allocations: 1.984 kB / 378.5 MB, free: 22.21 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009041/0.4609, allocations: 181.9 kB / 378.7 MB, free: 22.2 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.787e-05/0.4609, allocations: 7.625 kB / 378.7 MB, free: 22.2 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.497e-05/0.461, allocations: 10.14 kB / 378.7 MB, free: 22.19 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.026e-05/0.461, allocations: 2.156 kB / 378.7 MB, free: 22.19 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.03e-06/0.461, allocations: 4.781 kB / 378.7 MB, free: 22.19 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004064/0.4651, allocations: 1.465 MB / 380.2 MB, free: 21.66 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002959/0.4654, allocations: 150.2 kB / 380.3 MB, free: 21.51 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001632/0.4656, allocations: 18.12 kB / 380.4 MB, free: 21.5 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008893/0.4665, allocations: 139.2 kB / 380.5 MB, free: 21.49 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001978/0.4667, allocations: 56.36 kB / 380.6 MB, free: 21.47 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.526e-05/0.4668, allocations: 17.2 kB / 380.6 MB, free: 21.47 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0008933/0.4677, allocations: 395.4 kB / 381 MB, free: 21.29 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.91e-07/0.4677, allocations: 0 / 381 MB, free: 21.29 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001046/0.4687, allocations: 177.7 kB / 381.1 MB, free: 21.26 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (Nand.C4.v,Nand.C7.v) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,VIN1.signalSource.T_start,VIN1.signalSource.count,VIN2.signalSource.T_start,VIN2.signalSource.count) * Number of discrete states: 2 (VIN1.signalSource.count,VIN2.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (50): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0003008/0.469, allocations: 116.5 kB / 381.2 MB, free: 21.16 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.003387/0.4724, allocations: 1.115 MB / 382.4 MB, free: 20.75 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 7.394e-06/0.4725, allocations: 1.094 kB / 382.4 MB, free: 20.75 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001347/0.4738, allocations: 469 kB / 382.8 MB, free: 20.63 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001257/0.4751, allocations: 102 kB / 382.9 MB, free: 20.58 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003874/0.479, allocations: 1.531 MB / 384.4 MB, free: 19.7 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007312/0.4798, allocations: 0.8889 MB / 385.3 MB, free: 18.98 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004199/0.4802, allocations: 58.05 kB / 385.4 MB, free: 18.97 MB / 302.1 MB Notification: Performance of SimCode: time 1.673e-06/0.4802, allocations: 0 / 385.4 MB, free: 18.97 MB / 302.1 MB Notification: Performance of Templates: time 0.02115/0.5014, allocations: 9.226 MB / 394.6 MB, free: 14.02 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.NandGate.makefile make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.NandGate.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.NandGateCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Electrical.Analog.Examples.NandGateCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Electrical.Analog.Examples.NandGateCalcHelperMain.o] Error 1