Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.DC.Loads.Examples.Resistor.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) 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(Buildings.Electrical.DC.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.DC.Loads.Examples.Resistor") translateModel(Buildings.Electrical.DC.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.DC.Loads.Examples.Resistor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009418/0.000942, allocations: 98.8 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008774/0.0008775, allocations: 180.1 kB / 16.92 MB, free: 6.918 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.865/1.865, allocations: 205.4 MB / 223.1 MB, free: 5.746 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.919/1.919, allocations: 292.7 MB / 0.5509 GB, free: 14.46 MB / 462.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.0005967/0.0005968, allocations: 13.12 kB / 0.675 GB, free: 26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3248/0.3254, allocations: 116.3 MB / 0.7885 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.Resistor): time 0.004847/0.3304, allocations: 3.474 MB / 0.7919 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002815/0.3332, allocations: 1.707 MB / 0.7936 GB, free: 6.355 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001533/0.3334, allocations: 8 kB / 0.7936 GB, free: 6.348 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002366/0.3336, allocations: 63.44 kB / 0.7937 GB, free: 6.285 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.000593/0.3342, allocations: 211.1 kB / 0.7939 GB, free: 6.078 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006032/0.3349, allocations: 203.5 kB / 0.7941 GB, free: 5.879 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0007423/0.3356, allocations: 0.6584 MB / 0.7947 GB, free: 5.219 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005087/0.3361, allocations: 306.4 kB / 0.795 GB, free: 4.898 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002037/0.3363, allocations: 159.3 kB / 0.7951 GB, free: 4.742 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004048/0.3368, allocations: 203.2 kB / 0.7953 GB, free: 4.543 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.164e-05/0.3368, allocations: 16 kB / 0.7954 GB, free: 4.527 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005169/0.3373, allocations: 299.3 kB / 0.7956 GB, free: 4.234 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001441/0.3375, allocations: 107.7 kB / 0.7957 GB, free: 4.129 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001942/0.3377, allocations: 180.9 kB / 0.7959 GB, free: 3.945 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004775/0.3382, allocations: 391.3 kB / 0.7963 GB, free: 3.562 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.3382, allocations: 0 / 0.7963 GB, free: 3.562 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.175e-06/0.3382, allocations: 0 / 0.7963 GB, free: 3.562 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.704e-06/0.3382, allocations: 0 / 0.7963 GB, free: 3.562 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.001039/0.3393, allocations: 0.577 MB / 0.7969 GB, free: 2.938 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.3393, allocations: 8.031 kB / 0.7969 GB, free: 2.93 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009509/0.3403, allocations: 144.4 kB / 0.797 GB, free: 2.789 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000384/0.3407, allocations: 283.6 kB / 0.7973 GB, free: 2.473 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.706e-05/0.3407, allocations: 25.02 kB / 0.7973 GB, free: 2.449 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.299e-05/0.3408, allocations: 28.38 kB / 0.7973 GB, free: 2.422 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000688/0.3415, allocations: 463.7 kB / 0.7978 GB, free: 1.93 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.3415, allocations: 0 / 0.7978 GB, free: 1.93 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.84e-05/0.3415, allocations: 16 kB / 0.7978 GB, free: 1.914 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.275e-05/0.3416, allocations: 32.53 kB / 0.7978 GB, free: 1.883 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004804/0.3421, allocations: 317.9 kB / 0.7981 GB, free: 1.574 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002349/0.3444, allocations: 2.193 MB / 0.8002 GB, free: 15.17 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003814/0.3448, allocations: 247.8 kB / 0.8005 GB, free: 14.9 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002484/0.3451, allocations: 119.9 kB / 0.8006 GB, free: 14.78 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 1.251e-05/0.3451, allocations: 4 kB / 0.8006 GB, free: 14.78 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.183e-05/0.3452, allocations: 34.55 kB / 0.8006 GB, free: 14.73 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=14): time 1.343e-06/0.3452, allocations: 0 / 0.8006 GB, free: 14.73 MB / 0.6231 GB Notification: Performance of matching and sorting (n=14): time 0.0006317/0.3458, allocations: 307.5 kB / 0.8009 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.039e-05/0.3459, allocations: 59.28 kB / 0.801 GB, free: 14.34 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002966/0.3462, allocations: 274.5 kB / 0.8012 GB, free: 14.06 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.423e-05/0.3462, allocations: 29.7 kB / 0.8013 GB, free: 14.02 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001168/0.3463, allocations: 195.9 kB / 0.8015 GB, free: 13.82 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 4.525e-05/0.3464, allocations: 55.3 kB / 0.8015 GB, free: 13.77 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.549e-05/0.3464, allocations: 29.64 kB / 0.8015 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001315/0.3465, allocations: 342.8 kB / 0.8019 GB, free: 13.39 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.502e-05/0.3466, allocations: 56.44 kB / 0.8019 GB, free: 13.33 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001493/0.3468, allocations: 140 kB / 0.8021 GB, free: 13.16 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002576/0.3471, allocations: 225.2 kB / 0.8023 GB, free: 12.9 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.3471, allocations: 4 kB / 0.8023 GB, free: 12.89 MB / 0.6231 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000406/0.3475, allocations: 266 kB / 0.8025 GB, free: 12.62 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.188e-05/0.3475, allocations: 8 kB / 0.8025 GB, free: 12.62 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.3475, allocations: 4 kB / 0.8025 GB, free: 12.61 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00016/0.3477, allocations: 20.84 kB / 0.8026 GB, free: 12.59 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001773/0.3479, allocations: 51.92 kB / 0.8026 GB, free: 12.54 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001053/0.3489, allocations: 1.316 MB / 0.8039 GB, free: 11.09 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001666/0.3491, allocations: 27.69 kB / 0.8039 GB, free: 11.07 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.088e-05/0.3492, allocations: 20.16 kB / 0.8039 GB, free: 11.05 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (27): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001735/0.3493, allocations: 164.2 kB / 0.8041 GB, free: 10.88 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.632e-05/0.3494, allocations: 27.66 kB / 0.8041 GB, free: 10.85 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.835e-05/0.3494, allocations: 25.83 kB / 0.8042 GB, free: 10.83 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.237e-06/0.3495, allocations: 4 kB / 0.8042 GB, free: 10.82 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.3495, allocations: 0 / 0.8042 GB, free: 10.82 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.3495, allocations: 0 / 0.8042 GB, free: 10.82 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008769/0.3504, allocations: 0.7101 MB / 0.8048 GB, free: 10.02 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.3504, allocations: 0 / 0.8048 GB, free: 10.02 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.755e-05/0.3505, allocations: 28.25 kB / 0.8049 GB, free: 9.996 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.437e-05/0.3505, allocations: 24.84 kB / 0.8049 GB, free: 9.969 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.441e-05/0.3506, allocations: 8 kB / 0.8049 GB, free: 9.961 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009378/0.3515, allocations: 1.311 MB / 0.8062 GB, free: 8.52 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.611e-06/0.3515, allocations: 8.016 kB / 0.8062 GB, free: 8.512 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003361/0.3519, allocations: 320.4 kB / 0.8065 GB, free: 8.164 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 9.827e-05/0.352, allocations: 112.8 kB / 0.8066 GB, free: 8.035 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.402e-05/0.352, allocations: 7.938 kB / 0.8066 GB, free: 8.027 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001708/0.3522, allocations: 8 kB / 0.8066 GB, free: 8.02 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.978e-05/0.3522, allocations: 23.92 kB / 0.8066 GB, free: 7.996 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.267e-06/0.3523, allocations: 4 kB / 0.8066 GB, free: 7.992 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001892/0.3525, allocations: 197.9 kB / 0.8068 GB, free: 7.801 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1e-07/0.3525, allocations: 96 / 0.8068 GB, free: 7.801 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003874/0.3529, allocations: 87.62 kB / 0.8069 GB, free: 7.715 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 simulation (14): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001265/0.353, allocations: 103.2 kB / 0.807 GB, free: 7.602 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0004928/0.3535, allocations: 266.5 kB / 0.8073 GB, free: 7.328 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.57e-06/0.3535, allocations: 0 / 0.8073 GB, free: 7.328 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002214/0.3537, allocations: 183.6 kB / 0.8074 GB, free: 7.137 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005363/0.3543, allocations: 60.58 kB / 0.8075 GB, free: 7.074 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001052/0.3553, allocations: 0.7062 MB / 0.8082 GB, free: 6.32 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004766/0.3558, allocations: 0.7911 MB / 0.809 GB, free: 5.5 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.421e-05/0.3559, allocations: 23.44 kB / 0.809 GB, free: 5.477 MB / 0.6231 GB Notification: Performance of SimCode: time 4.11e-07/0.3559, allocations: 3.938 kB / 0.809 GB, free: 5.473 MB / 0.6231 GB Notification: Performance of Templates: time 0.007863/0.3638, allocations: 4.356 MB / 0.8132 GB, free: 1.133 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Electrical.DC.Loads.Examples.Resistor.makefile make -j1 -f Buildings_8_Buildings.Electrical.DC.Loads.Examples.Resistor.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 OMCppBuildings_8_Buildings.Electrical.DC.Loads.Examples.ResistorCalcHelperMain.o OMCppBuildings_8_Buildings.Electrical.DC.Loads.Examples.ResistorCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Electrical.DC.Loads.Examples.ResistorCalcHelperMain.o] Error 1