Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier.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.HeatingRectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Capacitor1.v|HeatCapacitor1.T",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier") translateModel(Modelica.Electrical.Analog.Examples.HeatingRectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Capacitor1.v|HeatCapacitor1.T",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007443/0.0007442, allocations: 86.31 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.0007666/0.0007667, allocations: 183.1 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.704/1.704, allocations: 205.4 MB / 224.6 MB, free: 13.16 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.000456/0.000456, allocations: 16.94 kB / 281.4 MB, free: 3.73 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1117/0.1122, allocations: 47.58 MB / 329 MB, free: 4.082 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingRectifier): time 0.002576/0.1148, allocations: 2.077 MB / 331.1 MB, free: 1.984 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001079/0.1159, allocations: 0.6442 MB / 331.7 MB, free: 1.336 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001086/0.1161, allocations: 4 kB / 331.7 MB, free: 1.332 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001278/0.1162, allocations: 23.78 kB / 331.7 MB, free: 1.309 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001109/0.1163, allocations: 63.45 kB / 331.8 MB, free: 1.246 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002352/0.1166, allocations: 47.95 kB / 331.8 MB, free: 1.199 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002561/0.1168, allocations: 262.7 kB / 332.1 MB, free: 0.9414 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001714/0.117, allocations: 64.8 kB / 332.2 MB, free: 0.8789 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001475/0.1172, allocations: 95.62 kB / 332.2 MB, free: 0.7852 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001506/0.1173, allocations: 91.61 kB / 332.3 MB, free: 0.6953 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.657e-05/0.1174, allocations: 12 kB / 332.3 MB, free: 0.6836 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.706e-05/0.1174, allocations: 31.98 kB / 332.4 MB, free: 0.6523 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 4.665e-05/0.1175, allocations: 35.78 kB / 332.4 MB, free: 0.6172 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 5.519e-05/0.1176, allocations: 69.64 kB / 332.5 MB, free: 0.543 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002079/0.1178, allocations: 195.7 kB / 332.7 MB, free: 360 kB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.1178, allocations: 4 kB / 332.7 MB, free: 356 kB / 270.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1178, allocations: 0 / 332.7 MB, free: 356 kB / 270.1 MB Notification: Performance of Transformations before backend: time 5.019e-06/0.1178, allocations: 0 / 332.7 MB, free: 356 kB / 270.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0007291/0.1185, allocations: 499 kB / 333.2 MB, free: 15.81 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.205e-05/0.1186, allocations: 15.97 kB / 333.2 MB, free: 15.79 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.989e-05/0.1187, allocations: 23.72 kB / 333.2 MB, free: 15.77 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002874/0.119, allocations: 239.3 kB / 333.4 MB, free: 15.5 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2e-05/0.119, allocations: 20.39 kB / 333.5 MB, free: 15.48 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.737e-05/0.119, allocations: 16 kB / 333.5 MB, free: 15.46 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00036/0.1194, allocations: 187.3 kB / 333.7 MB, free: 15.27 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.678e-05/0.1194, allocations: 4 kB / 333.7 MB, free: 15.27 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.361e-05/0.1195, allocations: 11.98 kB / 333.7 MB, free: 15.25 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.135e-06/0.1195, allocations: 4 kB / 333.7 MB, free: 15.25 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003043/0.1198, allocations: 157.7 kB / 333.8 MB, free: 15.1 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.001314/0.1211, allocations: 0.9375 MB / 334.8 MB, free: 14.05 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003074/0.1214, allocations: 146.6 kB / 334.9 MB, free: 13.9 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002097/0.1217, allocations: 98.86 kB / 335 MB, free: 13.8 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.482e-05/0.1217, allocations: 11.92 kB / 335 MB, free: 13.79 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.922e-05/0.1217, allocations: 38.5 kB / 335.1 MB, free: 13.75 MB / 286.1 MB Notification: Performance of pre-optimization done (n=17): time 1.453e-06/0.1217, allocations: 0 / 335.1 MB, free: 13.75 MB / 286.1 MB Notification: Performance of matching and sorting (n=17): time 0.001235/0.123, allocations: 431.4 kB / 335.5 MB, free: 13.3 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.832e-05/0.123, allocations: 59.39 kB / 335.5 MB, free: 13.23 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001683/0.1232, allocations: 167.1 kB / 335.7 MB, free: 13.05 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.198e-05/0.1232, allocations: 33.7 kB / 335.7 MB, free: 13.02 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.086e-05/0.1233, allocations: 140.2 kB / 335.9 MB, free: 12.88 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.81e-05/0.1234, allocations: 63.09 kB / 335.9 MB, free: 12.81 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.387e-06/0.1234, allocations: 4 kB / 335.9 MB, free: 12.81 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001267/0.1235, allocations: 322.8 kB / 336.2 MB, free: 12.48 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001124/0.1237, allocations: 52.36 kB / 336.3 MB, free: 12.43 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001178/0.1238, allocations: 74.44 kB / 336.4 MB, free: 12.36 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001233/0.1239, allocations: 63.94 kB / 336.4 MB, free: 12.29 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.1239, allocations: 0 / 336.4 MB, free: 12.29 MB / 286.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003983/0.1243, allocations: 230.2 kB / 336.7 MB, free: 12.06 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/0.1244, allocations: 8 kB / 336.7 MB, free: 12.05 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.1244, allocations: 0 / 336.7 MB, free: 12.05 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001184/0.1256, allocations: 220.6 kB / 336.9 MB, free: 11.83 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001332/0.1257, allocations: 39.92 kB / 336.9 MB, free: 11.79 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004748/0.1262, allocations: 0.6108 MB / 337.5 MB, free: 11.16 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00012/0.1263, allocations: 19.88 kB / 337.6 MB, free: 11.14 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.464e-05/0.1264, allocations: 7.984 kB / 337.6 MB, free: 11.13 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 7} Notification: Performance of prepare postOptimizeDAE: time 0.0001254/0.1265, allocations: 133.8 kB / 337.7 MB, free: 10.99 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.073e-05/0.1265, allocations: 19.8 kB / 337.7 MB, free: 10.97 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004334/0.127, allocations: 228.2 kB / 337.9 MB, free: 10.73 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.051e-06/0.127, allocations: 4 kB / 337.9 MB, free: 10.73 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.127, allocations: 3.953 kB / 337.9 MB, free: 10.73 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.127, allocations: 3.984 kB / 337.9 MB, free: 10.72 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000811/0.1278, allocations: 0.6006 MB / 338.5 MB, free: 10.06 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.1278, allocations: 0 / 338.5 MB, free: 10.06 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001392/0.128, allocations: 27.98 kB / 338.6 MB, free: 10.04 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009618/0.129, allocations: 212.6 kB / 338.8 MB, free: 9.824 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.191e-05/0.129, allocations: 11.98 kB / 338.8 MB, free: 9.812 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004744/0.1295, allocations: 0.6225 MB / 339.4 MB, free: 9.164 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.1295, allocations: 0 / 339.4 MB, free: 9.164 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007545/0.1303, allocations: 433.2 kB / 339.8 MB, free: 8.719 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.207e-05/0.1303, allocations: 92.89 kB / 339.9 MB, free: 8.609 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.534e-05/0.1304, allocations: 15.94 kB / 339.9 MB, free: 8.594 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001316/0.1305, allocations: 8 kB / 340 MB, free: 8.586 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.263e-05/0.1306, allocations: 11.98 kB / 340 MB, free: 8.574 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.222e-05/0.1306, allocations: 4 kB / 340 MB, free: 8.57 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001106/0.1307, allocations: 131.5 kB / 340.1 MB, free: 8.441 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1307, allocations: 0 / 340.1 MB, free: 8.441 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003144/0.131, allocations: 59.91 kB / 340.2 MB, free: 8.383 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (Capacitor1.v,HeatCapacitor1.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001868/0.1312, allocations: 107.2 kB / 340.3 MB, free: 8.27 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0003838/0.1316, allocations: 143.9 kB / 340.4 MB, free: 8.129 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.1316, allocations: 0 / 340.4 MB, free: 8.129 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001786/0.1318, allocations: 99.95 kB / 340.5 MB, free: 8.031 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003648/0.1322, allocations: 28.84 kB / 340.5 MB, free: 8.004 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009908/0.1332, allocations: 0.7154 MB / 341.2 MB, free: 7.258 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002703/0.1335, allocations: 0.7363 MB / 342 MB, free: 6.496 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.892e-05/0.1335, allocations: 15.44 kB / 342 MB, free: 6.48 MB / 286.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1335, allocations: 0 / 342 MB, free: 6.48 MB / 286.1 MB Notification: Performance of Templates: time 0.005024/0.1386, allocations: 3.01 MB / 345 MB, free: 3.465 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier.makefile make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier.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.HeatingRectifierCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifierCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifierCalcHelperMain.o] Error 1