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.0009545/0.0009548, allocations: 86.88 kB / 17.58 MB, free: 5.758 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.001108/0.001108, allocations: 183.4 kB / 18.48 MB, free: 5.207 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.773/1.773, allocations: 205.4 MB / 224.6 MB, free: 13.17 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.0004314/0.0004316, allocations: 16 kB / 281.4 MB, free: 3.746 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08941/0.08985, allocations: 47.58 MB / 329 MB, free: 4.094 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate): time 0.003984/0.09388, allocations: 4.076 MB / 333.1 MB, free: 15.99 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002289/0.09621, allocations: 1.226 MB / 334.3 MB, free: 14.76 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002744/0.09651, allocations: 8 kB / 334.3 MB, free: 14.75 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002028/0.09672, allocations: 79.31 kB / 334.4 MB, free: 14.67 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003617/0.09709, allocations: 214.2 kB / 334.6 MB, free: 14.46 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005368/0.09764, allocations: 219.6 kB / 334.8 MB, free: 14.25 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008276/0.09848, allocations: 0.9429 MB / 335.7 MB, free: 13.3 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003104/0.0988, allocations: 199.5 kB / 335.9 MB, free: 13.09 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003943/0.09921, allocations: 346.7 kB / 336.3 MB, free: 12.75 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000401/0.09962, allocations: 406.3 kB / 336.7 MB, free: 12.35 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 8.115e-05/0.09971, allocations: 44 kB / 336.7 MB, free: 12.31 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001629/0.09988, allocations: 67.98 kB / 336.8 MB, free: 12.24 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001207/0.1, allocations: 143.3 kB / 336.9 MB, free: 12.1 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000145/0.1002, allocations: 169.3 kB / 337.1 MB, free: 11.93 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005644/0.1007, allocations: 0.7092 MB / 337.8 MB, free: 11.22 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1008, allocations: 0 / 337.8 MB, free: 11.22 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1008, allocations: 0 / 337.8 MB, free: 11.22 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.874e-06/0.1008, allocations: 0 / 337.8 MB, free: 11.22 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.001898/0.1027, allocations: 1.137 MB / 338.9 MB, free: 10.02 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.677e-05/0.1027, allocations: 8.031 kB / 338.9 MB, free: 10.01 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001242/0.1029, allocations: 83.06 kB / 339 MB, free: 9.926 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005109/0.1034, allocations: 444.5 kB / 339.4 MB, free: 9.453 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.872e-05/0.1034, allocations: 49.27 kB / 339.5 MB, free: 9.406 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.169e-05/0.1035, allocations: 60 kB / 339.6 MB, free: 9.348 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001294/0.1048, allocations: 0.6506 MB / 340.2 MB, free: 8.688 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.689e-05/0.1049, allocations: 4 kB / 340.2 MB, free: 8.684 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.373e-05/0.1049, allocations: 28 kB / 340.2 MB, free: 8.656 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.382e-05/0.1049, allocations: 12 kB / 340.3 MB, free: 8.645 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00153/0.1065, allocations: 0.7351 MB / 341 MB, free: 7.91 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.003556/0.11, allocations: 2.375 MB / 343.4 MB, free: 5.375 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001402/0.1115, allocations: 0.6296 MB / 344 MB, free: 4.738 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007506/0.1122, allocations: 369.9 kB / 344.4 MB, free: 4.375 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.885e-05/0.1123, allocations: 4.438 kB / 344.4 MB, free: 4.371 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009063/0.1132, allocations: 457.4 kB / 344.8 MB, free: 3.898 MB / 286.1 MB Notification: Performance of pre-optimization done (n=54): time 2.485e-06/0.1132, allocations: 0 / 344.8 MB, free: 3.898 MB / 286.1 MB Notification: Performance of matching and sorting (n=94): time 0.06337/0.1766, allocations: 16.73 MB / 361.5 MB, free: 3.062 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001277/0.1768, allocations: 141.5 kB / 361.7 MB, free: 2.895 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006905/0.1775, allocations: 494.8 kB / 362.2 MB, free: 2.406 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000201/0.1777, allocations: 49.7 kB / 362.2 MB, free: 2.352 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003205/0.178, allocations: 367.9 kB / 362.6 MB, free: 1.984 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000285/0.1783, allocations: 307.5 kB / 362.9 MB, free: 1.68 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.912e-05/0.1784, allocations: 20 kB / 362.9 MB, free: 1.66 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000178/0.1786, allocations: 386.7 kB / 363.3 MB, free: 1.273 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001912/0.1805, allocations: 0.7905 MB / 364.1 MB, free: 496 kB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00206/0.1826, allocations: 1.005 MB / 365.1 MB, free: 15.4 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001959/0.1845, allocations: 0.8768 MB / 365.9 MB, free: 14.51 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.1846, allocations: 0 / 365.9 MB, free: 14.51 MB / 318.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.02064/0.2052, allocations: 5.624 MB / 371.6 MB, free: 8.859 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.761e-05/0.2054, allocations: 63.39 kB / 371.6 MB, free: 8.785 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.946e-05/0.2054, allocations: 8 kB / 371.6 MB, free: 8.777 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03074/0.2362, allocations: 7.316 MB / 378.9 MB, free: 1.445 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006869/0.2369, allocations: 175.7 kB / 379.1 MB, free: 1.273 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2248/0.4617, allocations: 3.214 MB / 382.3 MB, free: 51.8 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001674/0.4634, allocations: 219.5 kB / 382.5 MB, free: 51.8 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001183/0.4635, allocations: 44.48 kB / 382.6 MB, free: 51.8 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.0004676/0.464, allocations: 226.3 kB / 382.8 MB, free: 51.69 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001321/0.4642, allocations: 76.45 kB / 382.9 MB, free: 51.69 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02134/0.4855, allocations: 5.458 MB / 388.3 MB, free: 51.27 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.88e-05/0.4856, allocations: 9.844 kB / 388.4 MB, free: 51.27 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.241e-05/0.4856, allocations: 0 / 388.4 MB, free: 51.27 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.816e-05/0.4857, allocations: 4.891 kB / 388.4 MB, free: 51.27 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001539/0.4872, allocations: 1.086 MB / 389.4 MB, free: 50.71 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.5e-06/0.4872, allocations: 0 / 389.4 MB, free: 50.71 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005155/0.4878, allocations: 126.8 kB / 389.6 MB, free: 50.71 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02845/0.5162, allocations: 7.279 MB / 396.8 MB, free: 49.18 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002521/0.5165, allocations: 32.69 kB / 396.9 MB, free: 49.16 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004686/0.5212, allocations: 3.097 MB / 400 MB, free: 46.69 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.5212, allocations: 0 / 400 MB, free: 46.69 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01953/0.5408, allocations: 6.418 MB / 406.4 MB, free: 40.27 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002779/0.5411, allocations: 146.7 kB / 406.5 MB, free: 40.11 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001449/0.5413, allocations: 17.06 kB / 406.6 MB, free: 40.09 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001129/0.5424, allocations: 211.8 kB / 406.8 MB, free: 39.89 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00024/0.5427, allocations: 100.8 kB / 406.9 MB, free: 39.79 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.702e-05/0.5427, allocations: 31.97 kB / 406.9 MB, free: 39.76 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003808/0.5431, allocations: 338.8 kB / 407.2 MB, free: 39.43 MB / 318.1 MB Notification: Performance of sort global known variables: time 4.1e-07/0.5431, allocations: 0 / 407.2 MB, free: 39.43 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007534/0.5439, allocations: 257.1 kB / 407.5 MB, free: 39.18 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.0002483/0.5442, allocations: 132.1 kB / 407.6 MB, free: 39.04 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.005536/0.5497, allocations: 2.316 MB / 409.9 MB, free: 36.7 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.5497, allocations: 0 / 409.9 MB, free: 36.7 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002725/0.5525, allocations: 1.167 MB / 411.1 MB, free: 35.55 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007216/0.5532, allocations: 128.6 kB / 411.2 MB, free: 35.43 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003577/0.5568, allocations: 2.074 MB / 413.3 MB, free: 33.34 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000295/0.5571, allocations: 0.9425 MB / 414.2 MB, free: 32.36 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001411/0.5572, allocations: 31.44 kB / 414.3 MB, free: 32.33 MB / 318.1 MB Notification: Performance of SimCode: time 8.81e-07/0.5573, allocations: 0 / 414.3 MB, free: 32.33 MB / 318.1 MB Notification: Performance of Templates: time 0.0165/0.5738, allocations: 16.8 MB / 431.1 MB, free: 15.53 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++ 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.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