Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HeatCapacitor1.T",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate") translateModel(Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HeatCapacitor1.T",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001036/0.001036, allocations: 95.3 kB / 17.63 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001006/0.001006, allocations: 199 kB / 18.54 MB, free: 5.152 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.656/1.656, allocations: 227.3 MB / 246.6 MB, free: 12.02 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002269/0.000227, allocations: 4 kB / 307.3 MB, free: 1.652 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1401/0.1404, allocations: 51.49 MB / 358.8 MB, free: 14.16 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate): time 0.004988/0.1454, allocations: 4.3 MB / 363.1 MB, free: 9.836 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00308/0.1485, allocations: 1.253 MB / 364.3 MB, free: 8.578 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005523/0.1491, allocations: 12 kB / 364.4 MB, free: 8.566 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000294/0.1494, allocations: 91.17 kB / 364.4 MB, free: 8.477 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005372/0.15, allocations: 218.1 kB / 364.7 MB, free: 8.262 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007935/0.1508, allocations: 227.7 kB / 364.9 MB, free: 8.039 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001071/0.1519, allocations: 0.9818 MB / 365.9 MB, free: 7.051 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003843/0.1523, allocations: 199.7 kB / 366.1 MB, free: 6.844 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004526/0.1527, allocations: 354.6 kB / 366.4 MB, free: 6.496 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005328/0.1533, allocations: 422.2 kB / 366.8 MB, free: 6.082 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.456e-05/0.1534, allocations: 44 kB / 366.9 MB, free: 6.039 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001803/0.1535, allocations: 63.98 kB / 366.9 MB, free: 5.977 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001471/0.1537, allocations: 155.3 kB / 367.1 MB, free: 5.824 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001758/0.1539, allocations: 169.3 kB / 367.2 MB, free: 5.652 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007048/0.1546, allocations: 0.7403 MB / 368 MB, free: 4.91 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.085e-06/0.1546, allocations: 4 kB / 368 MB, free: 4.906 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.525e-06/0.1546, allocations: 0 / 368 MB, free: 4.906 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.056e-05/0.1546, allocations: 0 / 368 MB, free: 4.906 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: 158 * Number of variables: 158 Notification: Performance of Generate backend data structure: time 0.002289/0.1569, allocations: 1.156 MB / 369.1 MB, free: 3.688 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/0.157, allocations: 8.031 kB / 369.1 MB, free: 3.68 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001751/0.1572, allocations: 98.88 kB / 369.2 MB, free: 3.582 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000648/0.1578, allocations: 462.7 kB / 369.7 MB, free: 3.09 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.397e-05/0.1579, allocations: 49.31 kB / 369.7 MB, free: 3.043 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001161/0.158, allocations: 75.88 kB / 369.8 MB, free: 2.969 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001467/0.1595, allocations: 0.6779 MB / 370.5 MB, free: 2.281 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.763e-05/0.1595, allocations: 0 / 370.5 MB, free: 2.281 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.211e-05/0.1596, allocations: 28 kB / 370.5 MB, free: 2.254 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.164e-05/0.1597, allocations: 20 kB / 370.5 MB, free: 2.234 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001783/0.1615, allocations: 0.7468 MB / 371.3 MB, free: 1.488 MB / 302.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.3557/0.5172, allocations: 2.425 MB / 373.7 MB, free: 18.75 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001971/0.5192, allocations: 0.6303 MB / 374.3 MB, free: 18.72 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001097/0.5203, allocations: 359.5 kB / 374.7 MB, free: 18.71 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.174e-05/0.5204, allocations: 9.469 kB / 374.7 MB, free: 18.71 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001452/0.5218, allocations: 453.9 kB / 375.1 MB, free: 18.63 MB / 302.1 MB Notification: Performance of pre-optimization done (n=54): time 3.847e-06/0.5219, allocations: 0 / 375.1 MB, free: 18.63 MB / 302.1 MB Notification: Performance of matching and sorting (n=94): time 0.07362/0.5955, allocations: 16.75 MB / 391.9 MB, free: 13.45 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001171/0.5957, allocations: 141.5 kB / 392 MB, free: 13.28 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008227/0.5965, allocations: 0.5147 MB / 392.6 MB, free: 12.77 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003271/0.5968, allocations: 41.7 kB / 392.6 MB, free: 12.72 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003294/0.5972, allocations: 394.4 kB / 393 MB, free: 12.33 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003431/0.5975, allocations: 319 kB / 393.3 MB, free: 12.02 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.651e-05/0.5976, allocations: 17.64 kB / 393.3 MB, free: 12 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001348/0.5978, allocations: 386.8 kB / 393.7 MB, free: 11.62 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001702/0.5995, allocations: 0.7908 MB / 394.5 MB, free: 10.82 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001853/0.6013, allocations: 1.033 MB / 395.5 MB, free: 9.711 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00182/0.6032, allocations: 0.8889 MB / 396.4 MB, free: 8.816 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.292e-06/0.6032, allocations: 3.938 kB / 396.4 MB, free: 8.812 MB / 302.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.02012/0.6233, allocations: 5.649 MB / 402 MB, free: 3.141 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.966e-05/0.6235, allocations: 63.41 kB / 402.1 MB, free: 3.066 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.533e-05/0.6235, allocations: 8 kB / 402.1 MB, free: 3.059 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04093/0.6645, allocations: 7.316 MB / 409.4 MB, free: 11.74 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001089/0.6656, allocations: 179.7 kB / 409.6 MB, free: 11.56 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01048/0.6761, allocations: 3.22 MB / 412.8 MB, free: 8.289 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002592/0.6788, allocations: 227.8 kB / 413.1 MB, free: 8.066 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003268/0.6792, allocations: 47.94 kB / 413.1 MB, free: 8.02 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$whenCondition1,$PRE.V1.signalSource.T_start,V1.signalSource.T_start,$PRE.V1.signalSource.count,V1.signalSource.count,$PRE.V2.signalSource.T_start,V2.signalSource.T_start,$PRE.V2.signalSource.count,V2.signalSource.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 50 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {5 32,5 32} Notification: Performance of prepare postOptimizeDAE: time 0.001008/0.6802, allocations: 232.4 kB / 413.3 MB, free: 7.785 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004069/0.6806, allocations: 79.06 kB / 413.4 MB, free: 7.707 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02192/0.7026, allocations: 5.463 MB / 418.9 MB, free: 2.234 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.98e-05/0.7027, allocations: 12 kB / 418.9 MB, free: 2.223 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.739e-05/0.7027, allocations: 0.6875 kB / 418.9 MB, free: 2.223 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-05/0.7028, allocations: 3.984 kB / 418.9 MB, free: 2.219 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002508/0.7053, allocations: 1.109 MB / 420 MB, free: 1.086 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.428e-05/0.7053, allocations: 0 / 420 MB, free: 1.086 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005994/0.7059, allocations: 143.3 kB / 420.1 MB, free: 0.9531 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03238/0.7383, allocations: 7.277 MB / 427.4 MB, free: 9.668 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003817/0.7388, allocations: 27.98 kB / 427.4 MB, free: 9.641 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006596/0.7454, allocations: 3.084 MB / 430.5 MB, free: 6.5 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.7454, allocations: 0 / 430.5 MB, free: 6.5 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02516/0.7706, allocations: 6.42 MB / 436.9 MB, free: 64 kB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005153/0.7712, allocations: 144.2 kB / 437.1 MB, free: 15.9 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004875/0.7717, allocations: 16 kB / 437.1 MB, free: 15.89 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00168/0.7734, allocations: 219.7 kB / 437.3 MB, free: 15.67 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005013/0.7739, allocations: 102.4 kB / 437.4 MB, free: 15.57 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000175/0.7741, allocations: 39.97 kB / 437.4 MB, free: 15.53 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006525/0.7748, allocations: 346.8 kB / 437.8 MB, free: 15.19 MB / 350.1 MB Notification: Performance of sort global known variables: time 4.11e-07/0.7748, allocations: 0 / 437.8 MB, free: 15.19 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.00122/0.776, allocations: 260 kB / 438 MB, free: 14.94 MB / 350.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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {5 32,5 36} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004333/0.7765, allocations: 138.4 kB / 438.2 MB, free: 14.8 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.007206/0.7837, allocations: 2.33 MB / 440.5 MB, free: 12.45 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 8.286e-06/0.7838, allocations: 4 kB / 440.5 MB, free: 12.44 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003494/0.7873, allocations: 1.149 MB / 441.7 MB, free: 11.29 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001108/0.7884, allocations: 134.2 kB / 441.8 MB, free: 11.16 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004838/0.7932, allocations: 2.124 MB / 443.9 MB, free: 9.012 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006285/0.7939, allocations: 0.9518 MB / 444.9 MB, free: 8.035 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001836/0.7941, allocations: 39.44 kB / 444.9 MB, free: 7.996 MB / 350.1 MB Notification: Performance of SimCode: time 1.032e-06/0.7941, allocations: 0 / 444.9 MB, free: 7.996 MB / 350.1 MB Notification: Performance of Templates: time 0.02515/0.8193, allocations: 17.33 MB / 462.2 MB, free: 6.684 MB / 366.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.makefile make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.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_trunk_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGateCalcHelperMain.o OMCppModelica_trunk_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGateCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGateCalcHelperMain.o] Error 1