Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Digital.Examples.HalfAdder.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.Digital.Examples.HalfAdder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Adder.AND.G2.x|Adder.AND.G2.y|Adder.XOR.G2.x|Adder.XOR.G2.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Digital.Examples.HalfAdder") translateModel(Modelica.Electrical.Digital.Examples.HalfAdder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Adder.AND.G2.x|Adder.AND.G2.y|Adder.XOR.G2.x|Adder.XOR.G2.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Digital.Examples.HalfAdder") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001061/0.001061, allocations: 88.52 kB / 17.58 MB, free: 6.219 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.001292/0.001292, allocations: 188.2 kB / 18.48 MB, free: 5.379 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.572/1.572, allocations: 205.4 MB / 224.6 MB, free: 13.16 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.000428/0.0004281, allocations: 11.94 kB / 281.4 MB, free: 3.738 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08645/0.08689, allocations: 47.57 MB / 329 MB, free: 4.098 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.HalfAdder): time 0.002008/0.08893, allocations: 1.749 MB / 330.7 MB, free: 2.336 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001821/0.09077, allocations: 0.9993 MB / 331.7 MB, free: 1.328 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.464e-05/0.09086, allocations: 3.938 kB / 331.7 MB, free: 1.324 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001259/0.091, allocations: 31.78 kB / 331.8 MB, free: 1.293 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 8.536e-05/0.09109, allocations: 39.7 kB / 331.8 MB, free: 1.254 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003013/0.0914, allocations: 83.84 kB / 331.9 MB, free: 1.172 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003308/0.09174, allocations: 315.1 kB / 332.2 MB, free: 0.8633 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001733/0.09192, allocations: 89.59 kB / 332.3 MB, free: 0.7773 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007904/0.09272, allocations: 0.7915 MB / 333.1 MB, free: 15.98 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002027/0.09294, allocations: 179.5 kB / 333.2 MB, free: 15.81 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.147e-05/0.093, allocations: 8 kB / 333.2 MB, free: 15.8 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.393e-05/0.09305, allocations: 11.94 kB / 333.3 MB, free: 15.79 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001464/0.0932, allocations: 155.4 kB / 333.4 MB, free: 15.64 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001184/0.09333, allocations: 141.3 kB / 333.5 MB, free: 15.49 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006033/0.09393, allocations: 0.7874 MB / 334.3 MB, free: 14.7 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.09395, allocations: 0 / 334.3 MB, free: 14.7 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.09396, allocations: 4 kB / 334.3 MB, free: 14.7 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.923e-06/0.09397, allocations: 0 / 334.3 MB, free: 14.7 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.000965/0.09494, allocations: 0.9746 MB / 335.3 MB, free: 13.65 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.403e-05/0.09498, allocations: 8.031 kB / 335.3 MB, free: 13.64 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001026/0.09509, allocations: 79.06 kB / 335.4 MB, free: 13.56 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004375/0.09553, allocations: 403.4 kB / 335.8 MB, free: 13.13 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.474e-05/0.09558, allocations: 16 kB / 335.8 MB, free: 13.11 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.571e-05/0.09563, allocations: 20 kB / 335.8 MB, free: 13.09 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005523/0.09619, allocations: 309.1 kB / 336.1 MB, free: 12.79 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.375e-06/0.09621, allocations: 4 kB / 336.1 MB, free: 12.78 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.966e-05/0.09625, allocations: 12 kB / 336.1 MB, free: 12.77 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.09627, allocations: 0 / 336.1 MB, free: 12.77 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004055/0.09668, allocations: 207.9 kB / 336.3 MB, free: 12.57 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001161/0.09785, allocations: 0.8826 MB / 337.2 MB, free: 11.63 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000417/0.09828, allocations: 218.5 kB / 337.4 MB, free: 11.41 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003296/0.09862, allocations: 156.8 kB / 337.6 MB, free: 11.25 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.241e-05/0.09865, allocations: 0 / 337.6 MB, free: 11.25 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005244/0.09918, allocations: 393.9 kB / 338 MB, free: 10.83 MB / 286.1 MB Notification: Performance of pre-optimization done (n=24): time 1.292e-06/0.0992, allocations: 0 / 338 MB, free: 10.83 MB / 286.1 MB Notification: Performance of matching and sorting (n=24): time 0.00132/0.1005, allocations: 0.7336 MB / 338.7 MB, free: 10.07 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.257e-05/0.1006, allocations: 178.3 kB / 338.9 MB, free: 9.855 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001177/0.1018, allocations: 1 MB / 339.9 MB, free: 8.844 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.227e-05/0.1019, allocations: 33.7 kB / 339.9 MB, free: 8.805 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.91e-05/0.102, allocations: 153.8 kB / 340.1 MB, free: 8.652 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.678e-05/0.102, allocations: 63.28 kB / 340.1 MB, free: 8.59 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.867e-05/0.1021, allocations: 8 kB / 340.1 MB, free: 8.582 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001637/0.1023, allocations: 334.8 kB / 340.5 MB, free: 8.246 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002586/0.1025, allocations: 123.9 kB / 340.6 MB, free: 8.125 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002555/0.1028, allocations: 164.2 kB / 340.8 MB, free: 7.949 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003285/0.1031, allocations: 230.7 kB / 341 MB, free: 7.699 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.1031, allocations: 0 / 341 MB, free: 7.699 MB / 286.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008496/0.104, allocations: 0.5742 MB / 341.6 MB, free: 7.094 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.481e-05/0.1041, allocations: 142.8 kB / 341.7 MB, free: 6.93 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.1041, allocations: 4 kB / 341.7 MB, free: 6.926 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.1041, allocations: 0 / 341.7 MB, free: 6.926 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.218e-05/0.1042, allocations: 12 kB / 341.7 MB, free: 6.914 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.705e-06/0.1042, allocations: 4 kB / 341.7 MB, free: 6.91 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002709/0.1045, allocations: 47.83 kB / 341.8 MB, free: 6.863 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001651/0.1047, allocations: 115.9 kB / 341.9 MB, free: 6.75 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 28 ($PRE.Adder.XOR.G2.y,$PRE.Adder.AND.G2.y,a.y,b.y,Adder.AND.G1.auxiliary_n,Adder.XOR.G1.auxiliary_n,$whenCondition1,$whenCondition2,$PRE.Adder.XOR.G1.auxiliary_n,$PRE.Adder.XOR.G2.x,Adder.XOR.G2.x,Adder.XOR.G2.y,Adder.XOR.G2.delayTime,Adder.XOR.G2.y_auxiliary,Adder.XOR.G2.y_old,Adder.XOR.G2.lh,Adder.XOR.G2.t_next,$whenCondition3,$whenCondition4,$PRE.Adder.AND.G1.auxiliary_n,$PRE.Adder.AND.G2.x,Adder.AND.G2.x,Adder.AND.G2.y,Adder.AND.G2.delayTime,Adder.AND.G2.y_auxiliary,Adder.AND.G2.y_old,Adder.AND.G2.lh,Adder.AND.G2.t_next) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 4 * 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.0006797/0.1054, allocations: 0.526 MB / 342.4 MB, free: 6.188 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.697e-05/0.1055, allocations: 79.06 kB / 342.5 MB, free: 6.109 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002423/0.1057, allocations: 134.4 kB / 342.6 MB, free: 5.969 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.1057, allocations: 4 kB / 342.6 MB, free: 5.965 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.1057, allocations: 0 / 342.6 MB, free: 5.965 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.1057, allocations: 0 / 342.6 MB, free: 5.965 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007057/0.1064, allocations: 0.6258 MB / 343.2 MB, free: 5.289 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.1065, allocations: 0 / 343.2 MB, free: 5.289 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.127e-05/0.1065, allocations: 8 kB / 343.2 MB, free: 5.281 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.1065, allocations: 4 kB / 343.2 MB, free: 5.277 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.734e-05/0.1066, allocations: 23.98 kB / 343.3 MB, free: 5.254 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.1066, allocations: 3.938 kB / 343.3 MB, free: 5.25 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.1066, allocations: 4 kB / 343.3 MB, free: 5.246 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001014/0.1076, allocations: 0.7023 MB / 344 MB, free: 4.5 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006327/0.1082, allocations: 499.7 kB / 344.5 MB, free: 3.992 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.386e-05/0.1083, allocations: 24 kB / 344.5 MB, free: 3.969 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001901/0.1085, allocations: 31.88 kB / 344.5 MB, free: 3.938 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001549/0.1087, allocations: 51.94 kB / 344.6 MB, free: 3.887 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001324/0.1088, allocations: 119.8 kB / 344.7 MB, free: 3.77 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0009222/0.1098, allocations: 0.7328 MB / 345.4 MB, free: 3.039 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1098, allocations: 7.938 kB / 345.4 MB, free: 3.031 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003363/0.1101, allocations: 95.84 kB / 345.5 MB, free: 2.938 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 22 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,a.y,b.y,Adder.AND.G1.auxiliary_n,Adder.AND.G2.x,Adder.AND.G2.y,Adder.AND.G2.delayTime,Adder.AND.G2.y_auxiliary,Adder.AND.G2.y_old,Adder.AND.G2.lh,Adder.AND.G2.t_next,Adder.XOR.G1.auxiliary_n,Adder.XOR.G2.x,Adder.XOR.G2.y,Adder.XOR.G2.delayTime,Adder.XOR.G2.y_auxiliary,Adder.XOR.G2.y_old,Adder.XOR.G2.lh,Adder.XOR.G2.t_next) * Number of discrete states: 22 (Adder.XOR.G1.auxiliary_n,Adder.AND.G1.auxiliary_n,Adder.XOR.G2.y,Adder.XOR.G2.y_auxiliary,Adder.XOR.G2.t_next,Adder.XOR.G2.delayTime,Adder.XOR.G2.lh,Adder.XOR.G2.y_old,$whenCondition2,$whenCondition1,Adder.XOR.G2.x,Adder.AND.G2.y,Adder.AND.G2.y_auxiliary,Adder.AND.G2.t_next,Adder.AND.G2.delayTime,Adder.AND.G2.lh,Adder.AND.G2.y_old,$whenCondition4,$whenCondition3,Adder.AND.G2.x,b.y,a.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 4 * 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.0001718/0.1103, allocations: 134.5 kB / 345.7 MB, free: 2.797 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.000847/0.1112, allocations: 0.6576 MB / 346.3 MB, free: 2.09 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.1112, allocations: 96 / 346.3 MB, free: 2.09 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005707/0.1118, allocations: 0.5365 MB / 346.8 MB, free: 1.504 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006999/0.1125, allocations: 167.1 kB / 347 MB, free: 1.344 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002159/0.1146, allocations: 1.572 MB / 348.6 MB, free: 15.73 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005769/0.1152, allocations: 0.9639 MB / 349.5 MB, free: 14.74 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000231/0.1155, allocations: 95.22 kB / 349.6 MB, free: 14.65 MB / 302.1 MB Notification: Performance of SimCode: time 5.31e-07/0.1155, allocations: 4 kB / 349.6 MB, free: 14.64 MB / 302.1 MB Notification: Performance of Templates: time 0.008085/0.1236, allocations: 5.411 MB / 355.1 MB, free: 9.184 MB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.HalfAdder.makefile make -j1 -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.HalfAdder.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_3.2.3_Modelica.Electrical.Digital.Examples.HalfAdderCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Electrical.Digital.Examples.HalfAdderCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Electrical.Digital.Examples.HalfAdderCalcHelperMain.o] Error 1