Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate.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.Analog.Examples.HeatingNPN_OrGate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HeatCapacitor1.T",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate") translateModel(Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HeatCapacitor1.T",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009726/0.0009728, allocations: 93.95 kB / 17.96 MB, free: 5.625 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.001449/0.001449, allocations: 175.8 kB / 18.86 MB, free: 4.773 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.116/2.116, allocations: 205.4 MB / 225 MB, free: 13.07 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.0004839/0.0004839, allocations: 8 kB / 282 MB, free: 3.426 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.156/0.1565, allocations: 47.59 MB / 329.6 MB, free: 3.762 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate): time 0.005714/0.1623, allocations: 4.314 MB / 333.9 MB, free: 15.42 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003625/0.166, allocations: 1.265 MB / 335.2 MB, free: 14.14 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009334/0.167, allocations: 12 kB / 335.2 MB, free: 14.13 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005171/0.1675, allocations: 87.23 kB / 335.3 MB, free: 14.05 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00119/0.1687, allocations: 214.2 kB / 335.5 MB, free: 13.84 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001067/0.1698, allocations: 259.7 kB / 335.7 MB, free: 13.58 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.00154/0.1713, allocations: 0.9898 MB / 336.7 MB, free: 12.59 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004595/0.1718, allocations: 215.3 kB / 336.9 MB, free: 12.36 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006588/0.1725, allocations: 354.5 kB / 337.3 MB, free: 12.02 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005216/0.173, allocations: 406.1 kB / 337.7 MB, free: 11.62 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 9.419e-05/0.1731, allocations: 44 kB / 337.7 MB, free: 11.57 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002051/0.1733, allocations: 67.98 kB / 337.8 MB, free: 11.51 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000153/0.1735, allocations: 147.3 kB / 337.9 MB, free: 11.36 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004123/0.1739, allocations: 407.6 kB / 338.3 MB, free: 10.96 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007426/0.1747, allocations: 0.7013 MB / 339 MB, free: 10.25 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.183e-06/0.1747, allocations: 0 / 339 MB, free: 10.25 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.745e-06/0.1747, allocations: 0 / 339 MB, free: 10.25 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.184e-05/0.1747, allocations: 0 / 339 MB, free: 10.25 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: 152 * Number of variables: 152 Notification: Performance of Generate backend data structure: time 0.002504/0.1772, allocations: 1.11 MB / 340.2 MB, free: 9.078 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.833e-05/0.1773, allocations: 8.031 kB / 340.2 MB, free: 9.07 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001984/0.1775, allocations: 87.98 kB / 340.2 MB, free: 8.984 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007329/0.1782, allocations: 465.4 kB / 340.7 MB, free: 8.488 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.274e-05/0.1783, allocations: 45.69 kB / 340.7 MB, free: 8.445 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001161/0.1784, allocations: 60.38 kB / 340.8 MB, free: 8.387 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001535/0.18, allocations: 0.6665 MB / 341.5 MB, free: 7.711 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.303e-05/0.18, allocations: 11.84 kB / 341.5 MB, free: 7.699 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.081e-05/0.1801, allocations: 24 kB / 341.5 MB, free: 7.676 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.862e-05/0.1801, allocations: 16 kB / 341.5 MB, free: 7.66 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001901/0.182, allocations: 0.7351 MB / 342.3 MB, free: 6.926 MB / 286.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004491/0.1865, allocations: 2.374 MB / 344.6 MB, free: 4.398 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001615/0.1882, allocations: 0.6374 MB / 345.3 MB, free: 3.75 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008112/0.189, allocations: 365.9 kB / 345.6 MB, free: 3.391 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.225e-05/0.1891, allocations: 16.42 kB / 345.6 MB, free: 3.375 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001062/0.1901, allocations: 453.4 kB / 346.1 MB, free: 2.906 MB / 286.1 MB Notification: Performance of pre-optimization done (n=54): time 2.515e-06/0.1901, allocations: 0 / 346.1 MB, free: 2.906 MB / 286.1 MB Notification: Performance of matching and sorting (n=94): time 0.07531/0.2654, allocations: 16.74 MB / 362.8 MB, free: 2.07 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001548/0.2657, allocations: 149.5 kB / 363 MB, free: 1.891 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007684/0.2665, allocations: 490.8 kB / 363.5 MB, free: 1.406 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002659/0.2667, allocations: 45.69 kB / 363.5 MB, free: 1.355 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003557/0.2671, allocations: 367.9 kB / 363.9 MB, free: 0.9883 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003551/0.2675, allocations: 315.5 kB / 364.2 MB, free: 0.6758 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001564/0.2676, allocations: 85.66 kB / 364.2 MB, free: 0.5859 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001795/0.2678, allocations: 382.8 kB / 364.6 MB, free: 208 kB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002222/0.2701, allocations: 0.7944 MB / 365.4 MB, free: 15.41 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002332/0.2724, allocations: 1.005 MB / 366.4 MB, free: 14.33 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004853/0.2773, allocations: 1.814 MB / 368.2 MB, free: 12.43 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.139e-05/0.2773, allocations: 4 kB / 368.2 MB, free: 12.43 MB / 318.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.02622/0.3035, allocations: 5.714 MB / 374 MB, free: 6.684 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001141/0.3037, allocations: 63.39 kB / 374 MB, free: 6.609 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.048e-05/0.3038, allocations: 4 kB / 374 MB, free: 6.605 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.3022/0.606, allocations: 7.318 MB / 381.3 MB, free: 52.03 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001257/0.6074, allocations: 175.4 kB / 381.5 MB, free: 52.03 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01156/0.619, allocations: 3.228 MB / 384.7 MB, free: 50.98 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002316/0.6213, allocations: 218.4 kB / 384.9 MB, free: 50.98 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000162/0.6215, allocations: 47.48 kB / 385 MB, free: 50.98 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 10 (V2.signalSource.count,$PRE.V2.signalSource.count,V2.signalSource.T_start,$PRE.V2.signalSource.T_start,V1.signalSource.count,$PRE.V1.signalSource.count,V1.signalSource.T_start,$PRE.V1.signalSource.T_start,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(5,32), (5,32)} Notification: Performance of prepare postOptimizeDAE: time 0.0005643/0.6221, allocations: 226.2 kB / 385.2 MB, free: 50.87 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001839/0.6223, allocations: 77.58 kB / 385.3 MB, free: 50.87 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02568/0.648, allocations: 5.459 MB / 390.7 MB, free: 50.24 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.362e-05/0.6481, allocations: 15.81 kB / 390.8 MB, free: 50.24 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.312e-05/0.6481, allocations: 0 / 390.8 MB, free: 50.24 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.448e-05/0.6481, allocations: 11.44 kB / 390.8 MB, free: 50.24 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001562/0.6497, allocations: 1.074 MB / 391.9 MB, free: 49.68 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.795e-06/0.6497, allocations: 3.938 kB / 391.9 MB, free: 49.68 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006049/0.6503, allocations: 130.7 kB / 392 MB, free: 49.67 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03435/0.6847, allocations: 7.283 MB / 399.3 MB, free: 47.74 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003035/0.6851, allocations: 27.97 kB / 399.3 MB, free: 47.71 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005255/0.6903, allocations: 3.102 MB / 402.4 MB, free: 44.59 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.913e-06/0.6904, allocations: 3.984 kB / 402.4 MB, free: 44.58 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02392/0.7143, allocations: 6.429 MB / 408.8 MB, free: 38.16 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003549/0.7147, allocations: 144.7 kB / 409 MB, free: 38 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001561/0.7149, allocations: 16 kB / 409 MB, free: 37.98 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001394/0.7163, allocations: 215.8 kB / 409.2 MB, free: 37.77 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002468/0.7165, allocations: 96.86 kB / 409.3 MB, free: 37.68 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.166e-05/0.7166, allocations: 37.16 kB / 409.3 MB, free: 37.64 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003412/0.717, allocations: 330.9 kB / 409.6 MB, free: 37.32 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.717, allocations: 3.938 kB / 409.7 MB, free: 37.32 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007611/0.7177, allocations: 258 kB / 409.9 MB, free: 37.07 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (HeatCapacitor1.T) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,V1.signalSource.T_start,V1.signalSource.count,V2.signalSource.T_start,V2.signalSource.count) * Number of discrete states: 2 (V2.signalSource.count,V1.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(5,32), (5,36)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003207/0.7181, allocations: 126.2 kB / 410 MB, free: 36.93 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.006663/0.7248, allocations: 2.328 MB / 412.4 MB, free: 34.58 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 6.041e-06/0.7248, allocations: 4.062 kB / 412.4 MB, free: 34.58 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00337/0.7282, allocations: 1.155 MB / 413.5 MB, free: 33.43 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008447/0.729, allocations: 127.3 kB / 413.6 MB, free: 33.31 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003849/0.7329, allocations: 2.166 MB / 415.8 MB, free: 31.13 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003748/0.7333, allocations: 0.9386 MB / 416.7 MB, free: 30.16 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001654/0.7335, allocations: 39.42 kB / 416.8 MB, free: 30.12 MB / 318.1 MB Notification: Performance of SimCode: time 1.983e-06/0.7335, allocations: 0 / 416.8 MB, free: 30.12 MB / 318.1 MB Notification: Performance of Templates: time 0.02027/0.7538, allocations: 16.76 MB / 433.5 MB, free: 13.35 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate.makefile make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate.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.Analog.Examples.HeatingNPN_OrGateCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGateCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGateCalcHelperMain.o] Error 1