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.001307/0.001307, allocations: 93.67 kB / 17.95 MB, free: 5.629 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.002354/0.002355, allocations: 179.4 kB / 18.86 MB, free: 4.773 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.006/2.006, allocations: 205.4 MB / 225 MB, free: 13.07 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.0006036/0.0006043, allocations: 12 kB / 282 MB, free: 3.414 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.127/0.1276, allocations: 47.58 MB / 329.6 MB, free: 3.754 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate): time 0.005334/0.133, allocations: 4.295 MB / 333.9 MB, free: 15.43 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003093/0.1361, allocations: 1.272 MB / 335.2 MB, free: 14.15 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008697/0.137, allocations: 12 kB / 335.2 MB, free: 14.14 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005355/0.1376, allocations: 87.3 kB / 335.3 MB, free: 14.05 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001246/0.1389, allocations: 206.2 kB / 335.5 MB, free: 13.85 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001171/0.14, allocations: 259.7 kB / 335.7 MB, free: 13.59 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001841/0.1419, allocations: 0.9859 MB / 336.7 MB, free: 12.61 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005987/0.1425, allocations: 219.3 kB / 336.9 MB, free: 12.38 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009038/0.1434, allocations: 354.5 kB / 337.3 MB, free: 12.03 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009435/0.1444, allocations: 406 kB / 337.7 MB, free: 11.63 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000285/0.1447, allocations: 44 kB / 337.7 MB, free: 11.59 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003916/0.1451, allocations: 71.95 kB / 337.8 MB, free: 11.52 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002263/0.1454, allocations: 151.3 kB / 337.9 MB, free: 11.37 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000707/0.1461, allocations: 399.7 kB / 338.3 MB, free: 10.97 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000975/0.1471, allocations: 0.6974 MB / 339 MB, free: 10.27 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.275e-06/0.1471, allocations: 0 / 339 MB, free: 10.27 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.396e-06/0.1471, allocations: 4 kB / 339 MB, free: 10.27 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.183e-05/0.1471, allocations: 0 / 339 MB, free: 10.27 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.002953/0.1501, allocations: 1.11 MB / 340.1 MB, free: 9.09 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.264e-05/0.1502, allocations: 15.95 kB / 340.1 MB, free: 9.074 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003335/0.1505, allocations: 87.98 kB / 340.2 MB, free: 8.988 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001/0.1515, allocations: 465.5 kB / 340.7 MB, free: 8.492 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.189e-05/0.1516, allocations: 49.69 kB / 340.7 MB, free: 8.445 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001927/0.1518, allocations: 60.38 kB / 340.8 MB, free: 8.387 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001873/0.1537, allocations: 0.6665 MB / 341.5 MB, free: 7.711 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.553e-05/0.1538, allocations: 7.844 kB / 341.5 MB, free: 7.703 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.467e-05/0.1539, allocations: 28 kB / 341.5 MB, free: 7.676 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.851e-05/0.1539, allocations: 12 kB / 341.5 MB, free: 7.664 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002103/0.156, allocations: 0.739 MB / 342.2 MB, free: 6.926 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.00522/0.1612, allocations: 2.371 MB / 344.6 MB, free: 4.402 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001932/0.1632, allocations: 0.6451 MB / 345.3 MB, free: 3.746 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009396/0.1642, allocations: 361.9 kB / 345.6 MB, free: 3.391 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.157e-05/0.1642, allocations: 8.422 kB / 345.6 MB, free: 3.383 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001151/0.1654, allocations: 457.4 kB / 346.1 MB, free: 2.91 MB / 286.1 MB Notification: Performance of pre-optimization done (n=54): time 2.875e-06/0.1654, allocations: 0 / 346.1 MB, free: 2.91 MB / 286.1 MB Notification: Performance of matching and sorting (n=94): time 0.07726/0.2427, allocations: 16.74 MB / 362.8 MB, free: 2.074 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001378/0.2429, allocations: 149.5 kB / 363 MB, free: 1.895 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008333/0.2437, allocations: 494.8 kB / 363.4 MB, free: 1.406 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002462/0.244, allocations: 49.7 kB / 363.5 MB, free: 1.352 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003513/0.2444, allocations: 363.9 kB / 363.8 MB, free: 0.9883 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003556/0.2447, allocations: 307.5 kB / 364.1 MB, free: 0.6836 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001531/0.2449, allocations: 81.67 kB / 364.2 MB, free: 0.5977 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002754/0.2452, allocations: 382.8 kB / 364.6 MB, free: 220 kB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002196/0.2474, allocations: 0.8022 MB / 365.4 MB, free: 15.41 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002361/0.2497, allocations: 1.001 MB / 366.4 MB, free: 14.34 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004732/0.2545, allocations: 1.818 MB / 368.2 MB, free: 12.43 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.143e-06/0.2545, allocations: 3.938 kB / 368.2 MB, free: 12.43 MB / 318.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.02592/0.2805, allocations: 5.714 MB / 373.9 MB, free: 6.688 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001772/0.2807, allocations: 67.39 kB / 374 MB, free: 6.609 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.124e-05/0.2808, allocations: 4 kB / 374 MB, free: 6.605 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.3069/0.5877, allocations: 7.317 MB / 381.3 MB, free: 51.89 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001066/0.5888, allocations: 176 kB / 381.5 MB, free: 51.89 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007908/0.5967, allocations: 3.207 MB / 384.7 MB, free: 50.85 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001842/0.5986, allocations: 223.3 kB / 384.9 MB, free: 50.85 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001351/0.5988, allocations: 45.91 kB / 385 MB, free: 50.85 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.0004902/0.5993, allocations: 225.2 kB / 385.2 MB, free: 50.73 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001799/0.5995, allocations: 76.09 kB / 385.3 MB, free: 50.73 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0254/0.6249, allocations: 5.467 MB / 390.7 MB, free: 50.11 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.375e-05/0.625, allocations: 11.81 kB / 390.7 MB, free: 50.11 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.54e-05/0.625, allocations: 0.875 kB / 390.7 MB, free: 50.11 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.73e-05/0.625, allocations: 6.047 kB / 390.7 MB, free: 50.11 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001803/0.6268, allocations: 1.08 MB / 391.8 MB, free: 49.55 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.716e-06/0.6269, allocations: 3.938 kB / 391.8 MB, free: 49.55 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007102/0.6276, allocations: 129.8 kB / 392 MB, free: 49.53 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03413/0.6617, allocations: 7.29 MB / 399.2 MB, free: 47.59 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000292/0.6621, allocations: 29.97 kB / 399.3 MB, free: 47.56 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005303/0.6674, allocations: 3.09 MB / 402.4 MB, free: 44.44 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.254e-06/0.6674, allocations: 0 / 402.4 MB, free: 44.44 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.025/0.6925, allocations: 6.429 MB / 408.8 MB, free: 38.02 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004273/0.693, allocations: 144.2 kB / 408.9 MB, free: 37.86 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001924/0.6932, allocations: 23.84 kB / 409 MB, free: 37.84 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001437/0.6946, allocations: 207.8 kB / 409.2 MB, free: 37.64 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003368/0.695, allocations: 100.9 kB / 409.3 MB, free: 37.54 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.524e-05/0.6951, allocations: 31.92 kB / 409.3 MB, free: 37.51 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0004506/0.6955, allocations: 338.9 kB / 409.6 MB, free: 37.18 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.6956, allocations: 0 / 409.6 MB, free: 37.18 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0009249/0.6965, allocations: 258.1 kB / 409.9 MB, free: 36.93 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.0004277/0.6969, allocations: 131.5 kB / 410 MB, free: 36.79 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00697/0.7039, allocations: 2.324 MB / 412.3 MB, free: 34.45 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 9.588e-06/0.704, allocations: 0 / 412.3 MB, free: 34.45 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003691/0.7077, allocations: 1.157 MB / 413.5 MB, free: 33.3 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001062/0.7087, allocations: 118.2 kB / 413.6 MB, free: 33.18 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004052/0.7128, allocations: 2.19 MB / 415.8 MB, free: 30.98 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003733/0.7132, allocations: 0.9386 MB / 416.7 MB, free: 30.01 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000171/0.7134, allocations: 31.44 kB / 416.8 MB, free: 29.98 MB / 318.1 MB Notification: Performance of SimCode: time 9.31e-07/0.7134, allocations: 0 / 416.8 MB, free: 29.98 MB / 318.1 MB Notification: Performance of Templates: time 0.01962/0.733, allocations: 16.76 MB / 433.5 MB, free: 13.21 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