Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.DC.Loads.Examples.VariableLoad.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.VariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.DC.Loads.Examples.VariableLoad") translateModel(Buildings.Electrical.DC.Loads.Examples.VariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.DC.Loads.Examples.VariableLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001118/0.001118, allocations: 98.88 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.001712/0.001712, allocations: 182.9 kB / 16.92 MB, free: 6.672 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.982/1.982, allocations: 205.4 MB / 223.1 MB, free: 5.445 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.971/1.971, allocations: 292.7 MB / 0.5509 GB, free: 14.43 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.0005499/0.0005499, allocations: 12 kB / 0.675 GB, free: 25.8 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3164/0.3169, allocations: 116.3 MB / 0.7885 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.VariableLoad): time 0.004907/0.3219, allocations: 3.502 MB / 0.7919 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002948/0.3249, allocations: 1.746 MB / 0.7937 GB, free: 6.281 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001658/0.3251, allocations: 7.938 kB / 0.7937 GB, free: 6.273 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002441/0.3253, allocations: 55.56 kB / 0.7937 GB, free: 6.219 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0006203/0.326, allocations: 235 kB / 0.7939 GB, free: 5.988 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006631/0.3266, allocations: 235.1 kB / 0.7942 GB, free: 5.762 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0007549/0.3274, allocations: 0.6973 MB / 0.7948 GB, free: 5.062 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005322/0.328, allocations: 361.5 kB / 0.7952 GB, free: 4.676 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002105/0.3282, allocations: 151.4 kB / 0.7953 GB, free: 4.527 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003925/0.3286, allocations: 231.2 kB / 0.7956 GB, free: 4.301 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.223e-05/0.3286, allocations: 16 kB / 0.7956 GB, free: 4.285 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004211/0.3291, allocations: 227.5 kB / 0.7958 GB, free: 4.062 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001299/0.3292, allocations: 115.7 kB / 0.7959 GB, free: 3.949 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001728/0.3294, allocations: 188.8 kB / 0.7961 GB, free: 3.758 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004143/0.3298, allocations: 367.4 kB / 0.7964 GB, free: 3.398 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.3298, allocations: 0 / 0.7964 GB, free: 3.398 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.823e-06/0.3298, allocations: 0 / 0.7964 GB, free: 3.398 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.325e-06/0.3298, allocations: 0 / 0.7964 GB, free: 3.398 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: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.001111/0.3309, allocations: 0.612 MB / 0.797 GB, free: 2.738 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.797e-05/0.331, allocations: 8.031 kB / 0.797 GB, free: 2.73 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005813/0.3316, allocations: 88.34 kB / 0.7971 GB, free: 2.645 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004593/0.3321, allocations: 295.4 kB / 0.7974 GB, free: 2.316 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.485e-05/0.3321, allocations: 25.03 kB / 0.7974 GB, free: 2.289 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.751e-05/0.3322, allocations: 32.38 kB / 0.7975 GB, free: 2.258 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008867/0.3331, allocations: 498 kB / 0.7979 GB, free: 1.738 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.301e-05/0.3331, allocations: 0 / 0.7979 GB, free: 1.738 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.016e-05/0.3331, allocations: 12 kB / 0.7979 GB, free: 1.727 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.423e-05/0.3332, allocations: 44.56 kB / 0.798 GB, free: 1.684 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007867/0.334, allocations: 386.2 kB / 0.7983 GB, free: 1.309 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002388/0.3364, allocations: 2.052 MB / 0.8004 GB, free: 15.05 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000617/0.337, allocations: 222.6 kB / 0.8006 GB, free: 14.83 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004099/0.3375, allocations: 164.8 kB / 0.8007 GB, free: 14.66 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 2.714e-05/0.3375, allocations: 4 kB / 0.8007 GB, free: 14.66 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.036e-05/0.3375, allocations: 34.56 kB / 0.8008 GB, free: 14.62 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=18): time 1.663e-06/0.3375, allocations: 0 / 0.8008 GB, free: 14.62 MB / 0.6231 GB Notification: Performance of matching and sorting (n=18): time 0.001184/0.3387, allocations: 466.1 kB / 0.8012 GB, free: 14.14 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.248e-05/0.3388, allocations: 55.41 kB / 0.8013 GB, free: 14.07 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000281/0.3391, allocations: 266.6 kB / 0.8015 GB, free: 13.8 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.57e-05/0.3391, allocations: 29.7 kB / 0.8015 GB, free: 13.77 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001612/0.3393, allocations: 207.8 kB / 0.8017 GB, free: 13.56 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 5.757e-05/0.3393, allocations: 63.09 kB / 0.8018 GB, free: 13.5 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.525e-05/0.3394, allocations: 25.72 kB / 0.8018 GB, free: 13.47 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001759/0.3396, allocations: 334.8 kB / 0.8021 GB, free: 13.13 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002645/0.3399, allocations: 108.5 kB / 0.8022 GB, free: 13.03 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003791/0.3402, allocations: 223.5 kB / 0.8025 GB, free: 12.76 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005878/0.3408, allocations: 325.5 kB / 0.8028 GB, free: 12.39 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.3408, allocations: 0 / 0.8028 GB, free: 12.39 MB / 0.6231 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007774/0.3416, allocations: 381.9 kB / 0.8031 GB, free: 12.01 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001597/0.3418, allocations: 201 kB / 0.8033 GB, free: 11.76 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.158e-06/0.3418, allocations: 4 kB / 0.8033 GB, free: 11.76 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000207/0.342, allocations: 28.84 kB / 0.8034 GB, free: 11.73 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002789/0.3423, allocations: 83.83 kB / 0.8034 GB, free: 11.64 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001337/0.3437, allocations: 1.331 MB / 0.8047 GB, free: 10.18 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002694/0.3439, allocations: 47.58 kB / 0.8048 GB, free: 10.13 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.704e-05/0.344, allocations: 19.98 kB / 0.8048 GB, free: 10.11 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 8.175e-06/0.344, allocations: 4 kB / 0.8048 GB, free: 10.11 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006555/0.3447, allocations: 295.8 kB / 0.8051 GB, free: 9.82 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/0.3447, allocations: 4 kB / 0.8051 GB, free: 9.816 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.732e-06/0.3447, allocations: 11.94 kB / 0.8051 GB, free: 9.805 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000279/0.345, allocations: 84.02 kB / 0.8052 GB, free: 9.723 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.345, allocations: 4 kB / 0.8052 GB, free: 9.719 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002047/0.3452, allocations: 39.73 kB / 0.8052 GB, free: 9.68 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.823e-05/0.3452, allocations: 16 kB / 0.8052 GB, free: 9.664 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (32): * Single equations (assignments): 31 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002268/0.3455, allocations: 241 kB / 0.8055 GB, free: 9.418 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.169e-05/0.3455, allocations: 27.72 kB / 0.8055 GB, free: 9.391 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.765e-05/0.3456, allocations: 42.11 kB / 0.8055 GB, free: 9.352 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.3456, allocations: 4 kB / 0.8055 GB, free: 9.348 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.3456, allocations: 0 / 0.8055 GB, free: 9.348 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/0.3456, allocations: 3.984 kB / 0.8055 GB, free: 9.344 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001258/0.3469, allocations: 0.7684 MB / 0.8063 GB, free: 8.5 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.3469, allocations: 4.062 kB / 0.8063 GB, free: 8.496 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001917/0.3471, allocations: 47.91 kB / 0.8063 GB, free: 8.449 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.86e-05/0.3472, allocations: 28.83 kB / 0.8064 GB, free: 8.418 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.556e-05/0.3472, allocations: 4 kB / 0.8064 GB, free: 8.414 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001095/0.3483, allocations: 1.323 MB / 0.8077 GB, free: 6.953 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.3484, allocations: 3.938 kB / 0.8077 GB, free: 6.949 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006783/0.349, allocations: 381.8 kB / 0.808 GB, free: 6.551 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001166/0.3492, allocations: 120.8 kB / 0.8081 GB, free: 6.414 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.691e-05/0.3492, allocations: 3.938 kB / 0.8082 GB, free: 6.41 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001866/0.3494, allocations: 19.98 kB / 0.8082 GB, free: 6.391 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.024e-05/0.3495, allocations: 23.91 kB / 0.8082 GB, free: 6.367 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.329e-05/0.3495, allocations: 8 kB / 0.8082 GB, free: 6.359 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001904/0.3497, allocations: 186 kB / 0.8084 GB, free: 6.18 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3497, allocations: 0 / 0.8084 GB, free: 6.18 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0005819/0.3503, allocations: 143.5 kB / 0.8085 GB, free: 6.039 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (18): * Single equations (assignments): 17 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001376/0.3504, allocations: 99.25 kB / 0.8086 GB, free: 5.93 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001119/0.3516, allocations: 0.5175 MB / 0.8091 GB, free: 5.402 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.3516, allocations: 0 / 0.8091 GB, free: 5.402 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0003878/0.352, allocations: 227.1 kB / 0.8093 GB, free: 5.168 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005444/0.3525, allocations: 68.45 kB / 0.8094 GB, free: 5.102 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001071/0.3536, allocations: 0.7386 MB / 0.8101 GB, free: 4.324 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004324/0.354, allocations: 0.8035 MB / 0.8109 GB, free: 3.492 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.987e-05/0.3541, allocations: 23.44 kB / 0.8109 GB, free: 3.469 MB / 0.6231 GB Notification: Performance of SimCode: time 5.91e-07/0.3541, allocations: 0 / 0.8109 GB, free: 3.469 MB / 0.6231 GB Notification: Performance of Templates: time 0.007558/0.3617, allocations: 4.74 MB / 0.8156 GB, free: 14.74 MB / 0.6387 GB make -j1 -f Buildings_8_Buildings.Electrical.DC.Loads.Examples.VariableLoad.makefile make -j1 -f Buildings_8_Buildings.Electrical.DC.Loads.Examples.VariableLoad.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.VariableLoadCalcHelperMain.o OMCppBuildings_8_Buildings.Electrical.DC.Loads.Examples.VariableLoadCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Electrical.DC.Loads.Examples.VariableLoadCalcHelperMain.o] Error 1