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.001481/0.001481, allocations: 105.4 kB / 17.8 MB, free: 5.684 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.001578/0.001578, allocations: 201.9 kB / 18.73 MB, free: 4.766 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.956/1.956, allocations: 205.1 MB / 224.6 MB, free: 12.46 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.001672/0.001672, allocations: 47.94 kB / 280.6 MB, free: 3.578 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1668/0.1685, allocations: 46.63 MB / 327.2 MB, free: 4.883 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate): time 0.006771/0.1753, allocations: 4.711 MB / 332 MB, free: 140 kB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.003482/0.1788, allocations: 1.276 MB / 333.2 MB, free: 14.85 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009294/0.1798, allocations: 8 kB / 333.2 MB, free: 14.84 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005339/0.1804, allocations: 83.31 kB / 333.3 MB, free: 14.76 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000926/0.1813, allocations: 206.2 kB / 333.5 MB, free: 14.56 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008543/0.1822, allocations: 267.7 kB / 333.8 MB, free: 14.3 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009881/0.1832, allocations: 0.9898 MB / 334.8 MB, free: 13.3 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003989/0.1836, allocations: 219.3 kB / 335 MB, free: 13.07 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004068/0.184, allocations: 370.5 kB / 335.4 MB, free: 12.71 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004583/0.1845, allocations: 426.1 kB / 335.8 MB, free: 12.29 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 9.46e-05/0.1846, allocations: 52 kB / 335.8 MB, free: 12.24 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001942/0.1848, allocations: 75.98 kB / 335.9 MB, free: 12.17 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001931/0.185, allocations: 155.3 kB / 336 MB, free: 12.02 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003657/0.1854, allocations: 401.9 kB / 336.4 MB, free: 11.62 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006533/0.186, allocations: 0.7133 MB / 337.1 MB, free: 10.91 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.954e-06/0.186, allocations: 4 kB / 337.2 MB, free: 10.9 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.186, allocations: 4 kB / 337.2 MB, free: 10.9 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.047e-06/0.1861, allocations: 0 / 337.2 MB, free: 10.9 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.00246/0.1885, allocations: 1.215 MB / 338.4 MB, free: 9.617 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.422e-05/0.1886, allocations: 8.031 kB / 338.4 MB, free: 9.609 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001573/0.1887, allocations: 91.89 kB / 338.5 MB, free: 9.52 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005774/0.1893, allocations: 457.4 kB / 338.9 MB, free: 9.031 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.359e-05/0.1894, allocations: 53.67 kB / 339 MB, free: 8.98 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001089/0.1895, allocations: 56.38 kB / 339 MB, free: 8.926 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001378/0.1909, allocations: 0.6392 MB / 339.7 MB, free: 8.277 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.948e-05/0.1909, allocations: 4 kB / 339.7 MB, free: 8.273 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.097e-05/0.191, allocations: 20 kB / 339.7 MB, free: 8.254 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.508e-05/0.191, allocations: 16 kB / 339.7 MB, free: 8.238 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00163/0.1926, allocations: 0.6804 MB / 340.4 MB, free: 7.559 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.003776/0.1964, allocations: 2.331 MB / 342.7 MB, free: 5.074 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001392/0.1978, allocations: 0.5866 MB / 343.3 MB, free: 4.477 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007295/0.1986, allocations: 334 kB / 343.6 MB, free: 4.148 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.253e-05/0.1986, allocations: 8.438 kB / 343.6 MB, free: 4.141 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00103/0.1997, allocations: 429.4 kB / 344.1 MB, free: 3.695 MB / 286.1 MB Notification: Performance of pre-optimization done (n=54): time 1.813e-06/0.1997, allocations: 0 / 344.1 MB, free: 3.695 MB / 286.1 MB Notification: Performance of matching and sorting (n=94): time 0.07201/0.2717, allocations: 15.41 MB / 359.5 MB, free: 4.195 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001381/0.2719, allocations: 137.5 kB / 359.6 MB, free: 4.027 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009859/0.2729, allocations: 498.8 kB / 360.1 MB, free: 3.535 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002824/0.2732, allocations: 45.7 kB / 360.1 MB, free: 3.484 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003693/0.2736, allocations: 363.9 kB / 360.5 MB, free: 3.121 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005084/0.2741, allocations: 307.5 kB / 360.8 MB, free: 2.816 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005785/0.2747, allocations: 182.5 kB / 361 MB, free: 2.633 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002787/0.275, allocations: 382.8 kB / 361.3 MB, free: 2.25 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002997/0.278, allocations: 0.7201 MB / 362.1 MB, free: 1.531 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003133/0.2812, allocations: 0.9342 MB / 363 MB, free: 0.5156 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005831/0.287, allocations: 1.654 MB / 364.6 MB, free: 14.78 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.784e-06/0.2871, allocations: 0 / 364.6 MB, free: 14.78 MB / 318.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.03313/0.3202, allocations: 5.343 MB / 370 MB, free: 9.406 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001235/0.3204, allocations: 71.33 kB / 370.1 MB, free: 9.324 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.702e-05/0.3204, allocations: 8 kB / 370.1 MB, free: 9.316 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04855/0.369, allocations: 6.836 MB / 376.9 MB, free: 2.465 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009682/0.37, allocations: 131.8 kB / 377 MB, free: 2.336 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2567/0.6268, allocations: 3.016 MB / 380 MB, free: 52.81 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00221/0.629, allocations: 179.4 kB / 380.2 MB, free: 52.81 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001864/0.6293, allocations: 47.64 kB / 380.3 MB, free: 52.81 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.0005335/0.6298, allocations: 217.7 kB / 380.5 MB, free: 52.7 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002228/0.63, allocations: 77.47 kB / 380.6 MB, free: 52.7 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02587/0.6559, allocations: 5.099 MB / 385.7 MB, free: 52.31 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-05/0.656, allocations: 8.906 kB / 385.7 MB, free: 52.31 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.431e-05/0.656, allocations: 1.031 kB / 385.7 MB, free: 52.31 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.752e-05/0.6561, allocations: 7.656 kB / 385.7 MB, free: 52.31 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001735/0.6578, allocations: 1.084 MB / 386.8 MB, free: 51.75 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.905e-06/0.6578, allocations: 3.938 kB / 386.8 MB, free: 51.75 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005632/0.6584, allocations: 94.56 kB / 386.8 MB, free: 51.75 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03478/0.6932, allocations: 6.793 MB / 393.6 MB, free: 50.46 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002744/0.6935, allocations: 27.47 kB / 393.7 MB, free: 50.43 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005212/0.6988, allocations: 3.042 MB / 396.7 MB, free: 48.4 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.6988, allocations: 0 / 396.7 MB, free: 48.4 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0219/0.7207, allocations: 5.977 MB / 402.7 MB, free: 43.37 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003484/0.7211, allocations: 145.6 kB / 402.8 MB, free: 43.23 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001861/0.7213, allocations: 16 kB / 402.8 MB, free: 43.21 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0013/0.7226, allocations: 175.8 kB / 403 MB, free: 43.04 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000266/0.7229, allocations: 96.8 kB / 403.1 MB, free: 42.95 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.295e-05/0.723, allocations: 35.98 kB / 403.1 MB, free: 42.91 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003427/0.7233, allocations: 334.9 kB / 403.5 MB, free: 42.59 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.7233, allocations: 4 kB / 403.5 MB, free: 42.59 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007231/0.7241, allocations: 252 kB / 403.7 MB, free: 42.34 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.0002694/0.7244, allocations: 129.9 kB / 403.9 MB, free: 42.21 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.005439/0.7298, allocations: 2.029 MB / 405.9 MB, free: 40.15 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.09e-06/0.7298, allocations: 4 kB / 405.9 MB, free: 40.15 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00309/0.7329, allocations: 1.073 MB / 407 MB, free: 39.08 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008693/0.7338, allocations: 126.7 kB / 407.1 MB, free: 38.96 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003449/0.7373, allocations: 2.116 MB / 409.2 MB, free: 36.84 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002926/0.7376, allocations: 0.9462 MB / 410.1 MB, free: 35.88 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001675/0.7378, allocations: 31.44 kB / 410.2 MB, free: 35.85 MB / 318.1 MB Notification: Performance of SimCode: time 1.633e-06/0.7378, allocations: 4 kB / 410.2 MB, free: 35.84 MB / 318.1 MB Notification: Performance of Templates: time 0.01877/0.7566, allocations: 16.85 MB / 427 MB, free: 19 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++ -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.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