Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate.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.HeatingNPN_OrGate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HeatCapacitor1.T",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate") translateModel(Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HeatCapacitor1.T",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001469/0.001469, allocations: 108.2 kB / 17.81 MB, free: 5.559 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.001582/0.001582, allocations: 197.9 kB / 18.73 MB, free: 4.641 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.999/1.999, allocations: 205.1 MB / 224.6 MB, free: 12.48 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.001219/0.001219, allocations: 47.94 kB / 280.6 MB, free: 3.594 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1293/0.1306, allocations: 46.63 MB / 327.2 MB, free: 4.902 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate): time 0.00667/0.1373, allocations: 4.731 MB / 332 MB, free: 140 kB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.003543/0.1409, allocations: 1.272 MB / 333.2 MB, free: 14.86 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006504/0.1415, allocations: 11.94 kB / 333.3 MB, free: 14.84 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003337/0.1419, allocations: 75.36 kB / 333.3 MB, free: 14.77 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006025/0.1425, allocations: 218.2 kB / 333.5 MB, free: 14.55 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008291/0.1434, allocations: 255.7 kB / 333.8 MB, free: 14.3 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001158/0.1446, allocations: 0.9937 MB / 334.8 MB, free: 13.31 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005179/0.1451, allocations: 223.2 kB / 335 MB, free: 13.07 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006369/0.1457, allocations: 374.5 kB / 335.4 MB, free: 12.71 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005525/0.1463, allocations: 426.1 kB / 335.8 MB, free: 12.29 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001188/0.1464, allocations: 52 kB / 335.8 MB, free: 12.24 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002252/0.1467, allocations: 71.98 kB / 335.9 MB, free: 12.17 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001886/0.1469, allocations: 155.3 kB / 336.1 MB, free: 12.02 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005639/0.1474, allocations: 401.9 kB / 336.5 MB, free: 11.62 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009354/0.1484, allocations: 0.7173 MB / 337.2 MB, free: 10.9 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.1484, allocations: 0 / 337.2 MB, free: 10.9 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.1484, allocations: 0 / 337.2 MB, free: 10.9 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.929e-06/0.1484, 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.002898/0.1513, allocations: 1.219 MB / 338.4 MB, free: 9.617 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.67e-05/0.1514, allocations: 8.031 kB / 338.4 MB, free: 9.609 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001922/0.1516, allocations: 87.91 kB / 338.5 MB, free: 9.523 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007502/0.1523, allocations: 461.4 kB / 338.9 MB, free: 9.031 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.769e-05/0.1524, allocations: 45.69 kB / 339 MB, free: 8.988 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001132/0.1525, allocations: 60.38 kB / 339 MB, free: 8.93 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00149/0.154, allocations: 0.6431 MB / 339.7 MB, free: 8.277 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.783e-05/0.1541, allocations: 4 kB / 339.7 MB, free: 8.273 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.109e-05/0.1541, allocations: 24 kB / 339.7 MB, free: 8.25 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.654e-05/0.1542, allocations: 16 kB / 339.7 MB, free: 8.234 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001771/0.1559, allocations: 0.6726 MB / 340.4 MB, free: 7.562 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.004725/0.1607, allocations: 2.324 MB / 342.7 MB, free: 5.086 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001701/0.1624, allocations: 0.5944 MB / 343.3 MB, free: 4.48 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007852/0.1632, allocations: 330 kB / 343.6 MB, free: 4.156 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.399e-05/0.1633, allocations: 12.42 kB / 343.6 MB, free: 4.145 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001268/0.1646, allocations: 429.4 kB / 344.1 MB, free: 3.699 MB / 286.1 MB Notification: Performance of pre-optimization done (n=54): time 2.875e-06/0.1646, allocations: 0 / 344.1 MB, free: 3.699 MB / 286.1 MB Notification: Performance of matching and sorting (n=94): time 0.07021/0.2348, allocations: 15.4 MB / 359.5 MB, free: 4.203 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001196/0.2349, allocations: 145.5 kB / 359.6 MB, free: 4.027 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006931/0.2356, allocations: 494.8 kB / 360.1 MB, free: 3.539 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001949/0.2358, allocations: 53.69 kB / 360.1 MB, free: 3.48 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002702/0.2361, allocations: 367.9 kB / 360.5 MB, free: 3.113 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002748/0.2364, allocations: 307.5 kB / 360.8 MB, free: 2.809 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003572/0.2368, allocations: 178.5 kB / 361 MB, free: 2.629 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001813/0.237, allocations: 382.8 kB / 361.4 MB, free: 2.246 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001966/0.2389, allocations: 0.7163 MB / 362.1 MB, free: 1.531 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002104/0.2411, allocations: 0.9265 MB / 363 MB, free: 0.5234 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003935/0.245, allocations: 1.662 MB / 364.7 MB, free: 14.78 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.971e-06/0.245, allocations: 4 kB / 364.7 MB, free: 14.77 MB / 318.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.02271/0.2677, allocations: 5.343 MB / 370 MB, free: 9.402 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.447e-05/0.2679, allocations: 67.34 kB / 370.1 MB, free: 9.324 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.036e-05/0.2679, allocations: 7.938 kB / 370.1 MB, free: 9.316 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03271/0.3006, allocations: 6.847 MB / 376.9 MB, free: 2.453 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007047/0.3014, allocations: 139.8 kB / 377.1 MB, free: 2.316 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2465/0.5479, allocations: 3.158 MB / 380.2 MB, free: 52.88 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001869/0.5498, allocations: 179.3 kB / 380.4 MB, free: 52.88 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001271/0.55, allocations: 47.95 kB / 380.4 MB, free: 52.88 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.0004425/0.5504, allocations: 222.8 kB / 380.7 MB, free: 52.76 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001593/0.5506, allocations: 77.06 kB / 380.7 MB, free: 52.76 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0237/0.5743, allocations: 5.105 MB / 385.8 MB, free: 52.33 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.644e-05/0.5744, allocations: 8.969 kB / 385.9 MB, free: 52.33 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.367e-05/0.5744, allocations: 1.094 kB / 385.9 MB, free: 52.33 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-05/0.5745, allocations: 5.062 kB / 385.9 MB, free: 52.33 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001812/0.5763, allocations: 1.081 MB / 386.9 MB, free: 51.78 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.084e-05/0.5763, allocations: 10.84 kB / 386.9 MB, free: 51.77 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005356/0.5769, allocations: 91.53 kB / 387 MB, free: 51.77 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03316/0.61, allocations: 6.806 MB / 393.8 MB, free: 50.41 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003069/0.6104, allocations: 30.94 kB / 393.9 MB, free: 50.38 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005563/0.616, allocations: 3.052 MB / 396.9 MB, free: 48.34 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/0.616, allocations: 4 kB / 396.9 MB, free: 48.34 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02228/0.6383, allocations: 5.973 MB / 402.9 MB, free: 43.18 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003027/0.6387, allocations: 144.7 kB / 403 MB, free: 43.04 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001707/0.6389, allocations: 24.06 kB / 403.1 MB, free: 43.01 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001285/0.6401, allocations: 172.3 kB / 403.2 MB, free: 42.84 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002672/0.6404, allocations: 96.86 kB / 403.3 MB, free: 42.75 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.719e-05/0.6405, allocations: 35.97 kB / 403.4 MB, free: 42.71 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0004045/0.6409, allocations: 334.9 kB / 403.7 MB, free: 42.39 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.6409, allocations: 0 / 403.7 MB, free: 42.39 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007875/0.6417, allocations: 252 kB / 403.9 MB, free: 42.14 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.0002774/0.642, allocations: 136.1 kB / 404.1 MB, free: 42 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.006392/0.6484, allocations: 2.158 MB / 406.2 MB, free: 39.82 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 8.636e-06/0.6485, allocations: 1.125 kB / 406.2 MB, free: 39.82 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003287/0.6518, allocations: 1.08 MB / 407.3 MB, free: 38.75 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00105/0.6529, allocations: 128.5 kB / 407.4 MB, free: 38.63 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004019/0.6569, allocations: 2.095 MB / 409.5 MB, free: 36.53 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004674/0.6574, allocations: 0.9386 MB / 410.5 MB, free: 35.57 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001737/0.6576, allocations: 35.44 kB / 410.5 MB, free: 35.54 MB / 318.1 MB Notification: Performance of SimCode: time 1.603e-06/0.6576, allocations: 0 / 410.5 MB, free: 35.54 MB / 318.1 MB Notification: Performance of Templates: time 0.01828/0.6759, allocations: 16.86 MB / 427.4 MB, free: 18.68 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate.makefile make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate.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.HeatingNPN_OrGateCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGateCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGateCalcHelperMain.o] Error 1