Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.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.HeatingPNP_NORGate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HeatCapacitor1.T",fileNamePrefix="Modelica_3.2.3_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_3.2.3_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008043/0.0008045, allocations: 89.95 kB / 17.58 MB, free: 5.805 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.0009222/0.0009224, allocations: 180.5 kB / 18.48 MB, free: 5.254 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.71/1.71, allocations: 205.4 MB / 224.6 MB, free: 13.14 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.0004616/0.0004616, allocations: 15.44 kB / 281.4 MB, free: 3.723 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1032/0.1037, allocations: 47.58 MB / 329 MB, free: 4.078 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate): time 0.004644/0.1084, allocations: 4.069 MB / 333.1 MB, free: 15.98 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002333/0.1107, allocations: 1.226 MB / 334.3 MB, free: 14.75 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002788/0.1111, allocations: 11.94 kB / 334.3 MB, free: 14.74 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002205/0.1113, allocations: 79.36 kB / 334.4 MB, free: 14.66 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003654/0.1117, allocations: 206.2 kB / 334.6 MB, free: 14.46 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005282/0.1122, allocations: 223.6 kB / 334.8 MB, free: 14.24 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008736/0.1131, allocations: 0.9352 MB / 335.7 MB, free: 13.3 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003545/0.1134, allocations: 199.5 kB / 335.9 MB, free: 13.09 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004088/0.1139, allocations: 342.7 kB / 336.3 MB, free: 12.75 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000429/0.1143, allocations: 406.3 kB / 336.6 MB, free: 12.36 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 8.12e-05/0.1144, allocations: 44 kB / 336.7 MB, free: 12.31 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001697/0.1146, allocations: 75.97 kB / 336.8 MB, free: 12.24 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001249/0.1147, allocations: 147.3 kB / 336.9 MB, free: 12.09 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000145/0.1148, allocations: 161.3 kB / 337.1 MB, free: 11.93 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007324/0.1156, allocations: 0.7131 MB / 337.8 MB, free: 11.21 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.1156, allocations: 4 kB / 337.8 MB, free: 11.21 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.983e-06/0.1156, allocations: 0 / 337.8 MB, free: 11.21 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.011e-05/0.1156, allocations: 0 / 337.8 MB, free: 11.21 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.002244/0.1179, allocations: 1.122 MB / 338.9 MB, free: 10.02 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/0.1179, allocations: 8.031 kB / 338.9 MB, free: 10.02 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001363/0.1181, allocations: 87.06 kB / 339 MB, free: 9.93 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005928/0.1187, allocations: 448.4 kB / 339.4 MB, free: 9.453 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.053e-05/0.1187, allocations: 49.27 kB / 339.5 MB, free: 9.406 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001042/0.1188, allocations: 64 kB / 339.5 MB, free: 9.344 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001311/0.1202, allocations: 0.6623 MB / 340.2 MB, free: 8.672 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.923e-05/0.1202, allocations: 0 / 340.2 MB, free: 8.672 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.92e-05/0.1203, allocations: 24 kB / 340.2 MB, free: 8.648 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.772e-05/0.1203, allocations: 16 kB / 340.2 MB, free: 8.633 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001782/0.1221, allocations: 0.7312 MB / 341 MB, free: 7.902 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.004436/0.1265, allocations: 2.375 MB / 343.4 MB, free: 5.367 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001449/0.128, allocations: 0.6335 MB / 344 MB, free: 4.727 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007058/0.1287, allocations: 362 kB / 344.3 MB, free: 4.371 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.72e-05/0.1288, allocations: 12.41 kB / 344.4 MB, free: 4.359 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001003/0.1298, allocations: 457.4 kB / 344.8 MB, free: 3.887 MB / 286.1 MB Notification: Performance of pre-optimization done (n=54): time 2.344e-06/0.1298, allocations: 0 / 344.8 MB, free: 3.887 MB / 286.1 MB Notification: Performance of matching and sorting (n=94): time 0.06504/0.1948, allocations: 16.73 MB / 361.5 MB, free: 3.055 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001318/0.195, allocations: 141.5 kB / 361.7 MB, free: 2.887 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007511/0.1958, allocations: 490.8 kB / 362.1 MB, free: 2.402 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001954/0.196, allocations: 45.7 kB / 362.2 MB, free: 2.352 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003137/0.1963, allocations: 375.9 kB / 362.6 MB, free: 1.977 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002945/0.1966, allocations: 303.5 kB / 362.9 MB, free: 1.676 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.98e-05/0.1967, allocations: 23.94 kB / 362.9 MB, free: 1.652 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001899/0.1969, allocations: 382.8 kB / 363.3 MB, free: 1.27 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001922/0.1988, allocations: 0.7943 MB / 364 MB, free: 488 kB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002054/0.2009, allocations: 1.001 MB / 365 MB, free: 15.39 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001988/0.2029, allocations: 0.8807 MB / 365.9 MB, free: 14.5 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.2029, allocations: 0 / 365.9 MB, free: 14.5 MB / 318.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.02124/0.2242, allocations: 5.62 MB / 371.5 MB, free: 8.855 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.876e-05/0.2243, allocations: 67.39 kB / 371.6 MB, free: 8.777 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.435e-05/0.2243, allocations: 8.125 kB / 371.6 MB, free: 8.77 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03154/0.2559, allocations: 7.32 MB / 378.9 MB, free: 1.434 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007353/0.2567, allocations: 171.7 kB / 379.1 MB, free: 1.266 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2296/0.4863, allocations: 3.196 MB / 382.3 MB, free: 51.79 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00186/0.4882, allocations: 223.7 kB / 382.5 MB, free: 51.79 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001594/0.4884, allocations: 45.34 kB / 382.6 MB, free: 51.79 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 ($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 (50): * Single equations (assignments): 46 * 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.0004997/0.4889, allocations: 225.8 kB / 382.8 MB, free: 51.67 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001726/0.4891, allocations: 78.16 kB / 382.9 MB, free: 51.67 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02209/0.5112, allocations: 5.463 MB / 388.3 MB, free: 51.27 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.302e-05/0.5112, allocations: 9.156 kB / 388.3 MB, free: 51.27 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.421e-05/0.5113, allocations: 1.031 kB / 388.3 MB, free: 51.27 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.742e-05/0.5113, allocations: 7.219 kB / 388.3 MB, free: 51.27 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001516/0.5128, allocations: 1.078 MB / 389.4 MB, free: 50.71 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/0.5128, allocations: 0.875 kB / 389.4 MB, free: 50.71 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005126/0.5134, allocations: 129 kB / 389.5 MB, free: 50.7 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03211/0.5455, allocations: 7.292 MB / 396.8 MB, free: 49.19 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003049/0.5458, allocations: 19.95 kB / 396.9 MB, free: 49.17 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004771/0.5506, allocations: 3.086 MB / 399.9 MB, free: 46.71 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.5506, allocations: 0 / 399.9 MB, free: 46.71 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02046/0.5711, allocations: 6.424 MB / 406.4 MB, free: 40.29 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00033/0.5715, allocations: 142.6 kB / 406.5 MB, free: 40.13 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001569/0.5717, allocations: 19.98 kB / 406.5 MB, free: 40.11 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001151/0.5728, allocations: 211.9 kB / 406.7 MB, free: 39.91 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002282/0.5731, allocations: 104.8 kB / 406.8 MB, free: 39.8 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.438e-05/0.5731, allocations: 35.97 kB / 406.9 MB, free: 39.77 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003423/0.5735, allocations: 334.8 kB / 407.2 MB, free: 39.45 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5735, allocations: 0 / 407.2 MB, free: 39.45 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007287/0.5742, allocations: 253.1 kB / 407.4 MB, free: 39.2 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 (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.0002547/0.5745, allocations: 127.6 kB / 407.6 MB, free: 39.07 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.005605/0.5801, allocations: 2.319 MB / 409.9 MB, free: 36.72 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.5801, allocations: 1.125 kB / 409.9 MB, free: 36.72 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002801/0.5829, allocations: 1.148 MB / 411 MB, free: 35.58 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006535/0.5836, allocations: 132.1 kB / 411.2 MB, free: 35.46 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003197/0.5868, allocations: 2.099 MB / 413.3 MB, free: 33.34 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002859/0.5871, allocations: 0.9386 MB / 414.2 MB, free: 32.38 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001379/0.5873, allocations: 35.44 kB / 414.2 MB, free: 32.34 MB / 318.1 MB Notification: Performance of SimCode: time 4.31e-07/0.5873, allocations: 0 / 414.2 MB, free: 32.34 MB / 318.1 MB Notification: Performance of Templates: time 0.0168/0.6041, allocations: 16.79 MB / 431 MB, free: 15.54 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.makefile make -j1 -f Modelica_3.2.3_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_3.2.3_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGateCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGateCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGateCalcHelperMain.o] Error 1