Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingPNP_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.HeatingPNP_NORGate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HeatCapacitor1.T",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate") translateModel(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HeatCapacitor1.T",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008888/0.000889, allocations: 92.11 kB / 17.63 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001034/0.001034, allocations: 192.5 kB / 18.54 MB, free: 5.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.674/1.674, allocations: 227.3 MB / 246.6 MB, free: 12.03 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003018/0.0003019, allocations: 8 kB / 307.3 MB, free: 1.629 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.15/0.1503, allocations: 51.5 MB / 358.8 MB, free: 14.13 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate): time 0.005743/0.1561, allocations: 4.296 MB / 363.1 MB, free: 9.816 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002524/0.1586, allocations: 1.253 MB / 364.3 MB, free: 8.559 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003015/0.1589, allocations: 11.94 kB / 364.4 MB, free: 8.547 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000239/0.1592, allocations: 87.3 kB / 364.4 MB, free: 8.461 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000404/0.1596, allocations: 210.1 kB / 364.6 MB, free: 8.254 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005646/0.1602, allocations: 231.6 kB / 364.9 MB, free: 8.027 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009349/0.1611, allocations: 0.978 MB / 365.8 MB, free: 7.043 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003465/0.1615, allocations: 203.7 kB / 366 MB, free: 6.832 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003787/0.1619, allocations: 354.7 kB / 366.4 MB, free: 6.484 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004873/0.1624, allocations: 418.2 kB / 366.8 MB, free: 6.074 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.633e-05/0.1625, allocations: 44 kB / 366.8 MB, free: 6.031 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001723/0.1626, allocations: 67.97 kB / 366.9 MB, free: 5.965 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001479/0.1628, allocations: 151.3 kB / 367.1 MB, free: 5.816 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001804/0.163, allocations: 169.3 kB / 367.2 MB, free: 5.645 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006823/0.1637, allocations: 0.7481 MB / 368 MB, free: 4.895 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.1637, allocations: 0 / 368 MB, free: 4.895 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.983e-06/0.1637, allocations: 0 / 368 MB, free: 4.895 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.247e-05/0.1637, allocations: 0 / 368 MB, free: 4.895 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.002292/0.166, allocations: 1.161 MB / 369.1 MB, free: 3.668 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.286e-05/0.1661, allocations: 8.031 kB / 369.1 MB, free: 3.66 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001601/0.1662, allocations: 94.88 kB / 369.2 MB, free: 3.566 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006209/0.1669, allocations: 458.7 kB / 369.7 MB, free: 3.078 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.284e-05/0.1669, allocations: 49.31 kB / 369.7 MB, free: 3.031 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001047/0.167, allocations: 67.95 kB / 369.8 MB, free: 2.965 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001365/0.1684, allocations: 0.6818 MB / 370.5 MB, free: 2.273 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.914e-05/0.1684, allocations: 3.938 kB / 370.5 MB, free: 2.27 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.158e-05/0.1685, allocations: 24 kB / 370.5 MB, free: 2.246 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.315e-05/0.1685, allocations: 16 kB / 370.5 MB, free: 2.23 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001621/0.1701, allocations: 0.7507 MB / 371.3 MB, free: 1.48 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.2979/0.468, allocations: 2.42 MB / 373.7 MB, free: 18.7 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001579/0.4696, allocations: 0.6396 MB / 374.3 MB, free: 18.68 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009101/0.4705, allocations: 361.5 kB / 374.7 MB, free: 18.67 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.917e-05/0.4706, allocations: 12.64 kB / 374.7 MB, free: 18.66 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00111/0.4717, allocations: 452.1 kB / 375.1 MB, free: 18.58 MB / 302.1 MB Notification: Performance of pre-optimization done (n=54): time 2.304e-06/0.4717, allocations: 0 / 375.1 MB, free: 18.58 MB / 302.1 MB Notification: Performance of matching and sorting (n=94): time 0.06546/0.5372, allocations: 16.75 MB / 391.9 MB, free: 13.42 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.104e-05/0.5373, allocations: 141.5 kB / 392 MB, free: 13.25 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006243/0.5379, allocations: 0.5146 MB / 392.5 MB, free: 12.73 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000155/0.5381, allocations: 49.69 kB / 392.6 MB, free: 12.68 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002217/0.5383, allocations: 386.1 kB / 393 MB, free: 12.3 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002645/0.5386, allocations: 314.5 kB / 393.3 MB, free: 12 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.243e-05/0.5387, allocations: 20 kB / 393.3 MB, free: 11.98 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.455e-05/0.5388, allocations: 386.7 kB / 393.7 MB, free: 11.59 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001711/0.5405, allocations: 0.7986 MB / 394.5 MB, free: 10.79 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001766/0.5423, allocations: 1.028 MB / 395.5 MB, free: 9.684 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001758/0.5441, allocations: 0.8807 MB / 396.4 MB, free: 8.789 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.662e-06/0.5441, allocations: 4 kB / 396.4 MB, free: 8.785 MB / 302.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.01908/0.5632, allocations: 5.658 MB / 402 MB, free: 3.105 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.807e-05/0.5633, allocations: 63.41 kB / 402.1 MB, free: 3.031 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.918e-05/0.5634, allocations: 8 kB / 402.1 MB, free: 3.023 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0311/0.5945, allocations: 7.322 MB / 409.4 MB, free: 11.7 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007731/0.5953, allocations: 171.8 kB / 409.6 MB, free: 11.53 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007131/0.6025, allocations: 3.208 MB / 412.8 MB, free: 8.266 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001825/0.6043, allocations: 223.8 kB / 413 MB, free: 8.047 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002154/0.6046, allocations: 49.62 kB / 413.1 MB, free: 8 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.0007312/0.6053, allocations: 233.7 kB / 413.3 MB, free: 7.762 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000282/0.6056, allocations: 79.06 kB / 413.4 MB, free: 7.684 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02113/0.6267, allocations: 5.466 MB / 418.8 MB, free: 2.207 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.987e-05/0.6268, allocations: 8 kB / 418.9 MB, free: 2.199 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.195e-05/0.6268, allocations: 0 / 418.9 MB, free: 2.199 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.299e-05/0.6269, allocations: 3.984 kB / 418.9 MB, free: 2.195 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002364/0.6293, allocations: 1.118 MB / 420 MB, free: 1.055 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.779e-05/0.6293, allocations: 0 / 420 MB, free: 1.055 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005576/0.6299, allocations: 123.8 kB / 420.1 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03176/0.6617, allocations: 7.293 MB / 427.4 MB, free: 9.637 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003215/0.662, allocations: 19.98 kB / 427.4 MB, free: 9.617 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005831/0.6679, allocations: 3.076 MB / 430.5 MB, free: 6.484 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.6679, allocations: 0 / 430.5 MB, free: 6.484 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02398/0.6919, allocations: 6.419 MB / 436.9 MB, free: 48 kB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003762/0.6923, allocations: 150.2 kB / 437.1 MB, free: 15.88 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003533/0.6927, allocations: 19.98 kB / 437.1 MB, free: 15.86 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001555/0.6943, allocations: 219.7 kB / 437.3 MB, free: 15.65 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003465/0.6946, allocations: 99.28 kB / 437.4 MB, free: 15.55 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001339/0.6948, allocations: 31.97 kB / 437.4 MB, free: 15.52 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006032/0.6954, allocations: 350.8 kB / 437.8 MB, free: 15.18 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6954, allocations: 4 kB / 437.8 MB, free: 15.17 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001264/0.6967, allocations: 260 kB / 438 MB, free: 14.92 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.0004319/0.6971, allocations: 128.2 kB / 438.1 MB, free: 14.79 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.007281/0.7044, allocations: 2.332 MB / 440.5 MB, free: 12.43 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 7.234e-06/0.7045, allocations: 0 / 440.5 MB, free: 12.43 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003401/0.7079, allocations: 1.155 MB / 441.6 MB, free: 11.28 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001119/0.709, allocations: 129.5 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.004589/0.7136, allocations: 2.149 MB / 443.9 MB, free: 8.977 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008242/0.7145, allocations: 0.9517 MB / 444.9 MB, free: 8 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001888/0.7147, allocations: 35.44 kB / 444.9 MB, free: 7.965 MB / 350.1 MB Notification: Performance of SimCode: time 1.503e-06/0.7147, allocations: 0 / 444.9 MB, free: 7.965 MB / 350.1 MB Notification: Performance of Templates: time 0.02934/0.744, allocations: 17.34 MB / 462.2 MB, free: 6.648 MB / 366.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.makefile make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingPNP_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.HeatingPNP_NORGateCalcHelperMain.o OMCppModelica_trunk_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGateCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGateCalcHelperMain.o] Error 1