Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.001179/0.001179, allocations: 95.39 kB / 16.95 MB, free: 5.953 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.001533/0.001533, allocations: 181.5 kB / 17.84 MB, free: 5.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.683/1.683, allocations: 223.2 MB / 241.9 MB, free: 316 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003434/0.0003434, allocations: 14.16 kB / 301.5 MB, free: 6.445 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1475/0.1478, allocations: 50.41 MB / 351.9 MB, free: 4.023 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate): time 0.005127/0.153, allocations: 4.267 MB / 356.1 MB, free: 15.73 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002825/0.1559, allocations: 1.229 MB / 357.4 MB, free: 14.5 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003422/0.1563, allocations: 15.94 kB / 357.4 MB, free: 14.48 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002585/0.1565, allocations: 87.23 kB / 357.5 MB, free: 14.4 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004435/0.157, allocations: 214.2 kB / 357.7 MB, free: 14.19 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006611/0.1577, allocations: 223.7 kB / 357.9 MB, free: 13.97 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009367/0.1586, allocations: 0.9858 MB / 358.9 MB, free: 12.98 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003662/0.159, allocations: 203.5 kB / 359.1 MB, free: 12.76 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000399/0.1594, allocations: 354.6 kB / 359.4 MB, free: 12.41 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005002/0.1599, allocations: 418.2 kB / 359.8 MB, free: 12 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.831e-05/0.16, allocations: 44 kB / 359.9 MB, free: 11.96 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001763/0.1602, allocations: 63.98 kB / 359.9 MB, free: 11.9 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001455/0.1603, allocations: 155.3 kB / 360.1 MB, free: 11.75 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000168/0.1605, allocations: 173.3 kB / 360.3 MB, free: 11.57 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006974/0.1612, allocations: 0.7402 MB / 361 MB, free: 10.83 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.204e-06/0.1612, allocations: 4 kB / 361 MB, free: 10.82 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.1612, allocations: 0 / 361 MB, free: 10.82 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.988e-06/0.1612, allocations: 0 / 361 MB, free: 10.82 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.002251/0.1635, allocations: 1.153 MB / 362.2 MB, free: 9.602 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.618e-05/0.1636, allocations: 8.031 kB / 362.2 MB, free: 9.594 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000174/0.1638, allocations: 98.83 kB / 362.3 MB, free: 9.496 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006069/0.1644, allocations: 458.7 kB / 362.7 MB, free: 9.004 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.973e-05/0.1644, allocations: 53.3 kB / 362.8 MB, free: 8.953 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001013/0.1645, allocations: 64 kB / 362.8 MB, free: 8.891 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00138/0.1659, allocations: 0.6741 MB / 363.5 MB, free: 8.211 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.994e-05/0.166, allocations: 0 / 363.5 MB, free: 8.211 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.476e-05/0.166, allocations: 28 kB / 363.5 MB, free: 8.184 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.781e-05/0.1661, allocations: 12 kB / 363.5 MB, free: 8.172 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001713/0.1678, allocations: 0.7624 MB / 364.3 MB, free: 7.406 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.003974/0.1718, allocations: 2.437 MB / 366.7 MB, free: 4.82 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00135/0.1731, allocations: 0.6374 MB / 367.4 MB, free: 4.176 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000696/0.1738, allocations: 354 kB / 367.7 MB, free: 3.824 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.037e-05/0.1739, allocations: 12.44 kB / 367.7 MB, free: 3.812 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009374/0.1749, allocations: 453.4 kB / 368.2 MB, free: 3.344 MB / 302.1 MB Notification: Performance of pre-optimization done (n=54): time 1.893e-06/0.1749, allocations: 4 kB / 368.2 MB, free: 3.34 MB / 302.1 MB Notification: Performance of matching and sorting (n=94): time 0.3188/0.4936, allocations: 16.73 MB / 384.9 MB, free: 22.41 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001072/0.4938, allocations: 144.5 kB / 385 MB, free: 22.25 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008166/0.4946, allocations: 0.5162 MB / 385.6 MB, free: 21.94 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002123/0.4948, allocations: 46.92 kB / 385.6 MB, free: 21.89 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002833/0.4951, allocations: 385.6 kB / 386 MB, free: 21.55 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002845/0.4954, allocations: 313 kB / 386.3 MB, free: 21.29 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.574e-05/0.4955, allocations: 20.66 kB / 386.3 MB, free: 21.27 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001432/0.4957, allocations: 384 kB / 386.7 MB, free: 20.9 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002009/0.4977, allocations: 0.7992 MB / 387.5 MB, free: 20.54 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001992/0.4997, allocations: 1.032 MB / 388.5 MB, free: 19.88 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00179/0.5015, allocations: 0.8789 MB / 389.4 MB, free: 19.44 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/0.5015, allocations: 0 / 389.4 MB, free: 19.44 MB / 302.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.01972/0.5212, allocations: 5.658 MB / 395.1 MB, free: 14.35 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.351e-05/0.5214, allocations: 65.69 kB / 395.1 MB, free: 14.27 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.921e-05/0.5214, allocations: 8 kB / 395.1 MB, free: 14.27 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03023/0.5516, allocations: 7.32 MB / 402.4 MB, free: 6.941 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006891/0.5524, allocations: 183.7 kB / 402.6 MB, free: 6.762 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005859/0.5582, allocations: 3.201 MB / 405.8 MB, free: 3.508 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001744/0.56, allocations: 227.8 kB / 406 MB, free: 3.285 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001228/0.5602, allocations: 52.84 kB / 406.1 MB, free: 3.234 MB / 302.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.000431/0.5606, allocations: 221.6 kB / 406.3 MB, free: 3.008 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001432/0.5607, allocations: 79.06 kB / 406.4 MB, free: 2.93 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02087/0.5816, allocations: 5.463 MB / 411.9 MB, free: 13.46 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.843e-05/0.5817, allocations: 12 kB / 411.9 MB, free: 13.45 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.265e-05/0.5817, allocations: 0 / 411.9 MB, free: 13.45 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.772e-05/0.5818, allocations: 13.3 kB / 411.9 MB, free: 13.44 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002012/0.5838, allocations: 1.099 MB / 413 MB, free: 12.31 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.899e-06/0.5838, allocations: 8 kB / 413 MB, free: 12.3 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005851/0.5844, allocations: 127.8 kB / 413.1 MB, free: 12.18 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03776/0.6222, allocations: 7.292 MB / 420.4 MB, free: 4.879 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003173/0.6226, allocations: 19.98 kB / 420.4 MB, free: 4.859 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009131/0.6317, allocations: 3.08 MB / 423.5 MB, free: 1.723 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.017e-06/0.6318, allocations: 4.766 kB / 423.5 MB, free: 1.719 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02734/0.6591, allocations: 6.419 MB / 429.9 MB, free: 11.28 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004231/0.6596, allocations: 140.2 kB / 430.1 MB, free: 11.12 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002033/0.6598, allocations: 19.98 kB / 430.1 MB, free: 11.1 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001316/0.6612, allocations: 222.6 kB / 430.3 MB, free: 10.89 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002772/0.6615, allocations: 104.8 kB / 430.4 MB, free: 10.79 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.739e-05/0.6615, allocations: 31.98 kB / 430.4 MB, free: 10.76 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0005858/0.6621, allocations: 346.8 kB / 430.8 MB, free: 10.42 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6622, allocations: 0 / 430.8 MB, free: 10.42 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001147/0.6633, allocations: 261.6 kB / 431 MB, free: 10.17 MB / 334.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.0004386/0.6638, allocations: 135 kB / 431.2 MB, free: 10.03 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.006869/0.6706, allocations: 2.339 MB / 433.5 MB, free: 7.668 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 6.633e-06/0.6707, allocations: 0 / 433.5 MB, free: 7.668 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003464/0.6742, allocations: 1.145 MB / 434.6 MB, free: 6.523 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001007/0.6752, allocations: 132.8 kB / 434.8 MB, free: 6.398 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004202/0.6794, allocations: 2.142 MB / 436.9 MB, free: 4.23 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006459/0.6801, allocations: 0.9471 MB / 437.9 MB, free: 3.254 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001909/0.6803, allocations: 39.42 kB / 437.9 MB, free: 3.215 MB / 334.1 MB Notification: Performance of SimCode: time 1.844e-06/0.6803, allocations: 0 / 437.9 MB, free: 3.215 MB / 334.1 MB Notification: Performance of Templates: time 0.02836/0.7087, allocations: 17.33 MB / 455.2 MB, free: 1.918 MB / 350.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.makefile make -j1 -f Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGateCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGateCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGateCalcHelperMain.o] Error 1