Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.AC.OnePhase.Loads.Examples.DynamicLoads,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dynRC.i.1.|dynRC.i.2.|dynRL.i.1.|dynRL.i.2.|dynRC.v.1.|dynRC.v.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dynRC.i.1.|dynRC.i.2.|dynRL.i.1.|dynRL.i.2.|dynRC.v.1.|dynRC.v.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001004/0.001004, allocations: 100.5 kB / 15.71 MB, free: 452 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.001462/0.001462, allocations: 175.3 kB / 16.58 MB, free: 6.422 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.436/1.436, allocations: 223.2 MB / 240.6 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.603/2.603, allocations: 390.4 MB / 0.6662 GB, free: 2.871 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003366/0.0003366, allocations: 12 kB / 0.8154 GB, free: 14.15 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8298/0.8302, allocations: 142.3 MB / 0.9544 GB, free: 8.352 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.004373/0.8347, allocations: 2.843 MB / 0.9572 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003556/0.8383, allocations: 1.732 MB / 0.9589 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002339/0.8385, allocations: 7.469 kB / 0.9589 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002532/0.8388, allocations: 45.08 kB / 0.9589 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0006297/0.8394, allocations: 165.2 kB / 0.9591 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008235/0.8403, allocations: 228.5 kB / 0.9593 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0006858/0.841, allocations: 472.2 kB / 0.9598 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009648/0.842, allocations: 435.3 kB / 0.9602 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002992/0.8423, allocations: 129.3 kB / 0.9603 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005122/0.8428, allocations: 186.3 kB / 0.9605 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.571e-05/0.8428, allocations: 16.31 kB / 0.9605 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004283/0.8433, allocations: 131.3 kB / 0.9606 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001571/0.8434, allocations: 109 kB / 0.9607 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 9.651e-05/0.8436, allocations: 74.27 kB / 0.9608 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0006217/0.8442, allocations: 353.1 kB / 0.9611 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 1.125e-05/0.8442, allocations: 0 / 0.9611 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of FrontEnd: time 4.829e-06/0.8442, allocations: 1.344 kB / 0.9611 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.057e-06/0.8442, allocations: 3.938 kB / 0.9611 GB, free: 3.285 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.001483/0.8457, allocations: 0.5411 MB / 0.9617 GB, free: 2.781 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 8.373e-05/0.8458, allocations: 13.08 kB / 0.9617 GB, free: 2.777 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009838/0.8468, allocations: 93.11 kB / 0.9618 GB, free: 2.734 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005335/0.8474, allocations: 263.9 kB / 0.962 GB, free: 2.473 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.134e-05/0.8474, allocations: 22.73 kB / 0.962 GB, free: 2.461 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001618/0.8476, allocations: 32.55 kB / 0.9621 GB, free: 2.449 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008953/0.8485, allocations: 442.6 kB / 0.9625 GB, free: 2.148 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.886e-05/0.8485, allocations: 5.031 kB / 0.9625 GB, free: 2.145 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.004e-05/0.8486, allocations: 15.5 kB / 0.9625 GB, free: 2.133 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001642/0.8487, allocations: 38.44 kB / 0.9625 GB, free: 2.121 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000795/0.8496, allocations: 352 kB / 0.9629 GB, free: 1.949 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002975/0.8525, allocations: 2.209 MB / 0.965 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005224/0.8531, allocations: 260.4 kB / 0.9653 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002565/0.8534, allocations: 162.1 kB / 0.9654 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.092e-05/0.8534, allocations: 10.78 kB / 0.9654 GB, free: 15.67 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.205e-05/0.8534, allocations: 36.17 kB / 0.9655 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=22): time 2.275e-06/0.8534, allocations: 0 / 0.9655 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of matching and sorting (n=23): time 0.00216/0.8556, allocations: 1.043 MB / 0.9665 GB, free: 14.9 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.176e-05/0.8557, allocations: 62.66 kB / 0.9666 GB, free: 14.83 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003334/0.856, allocations: 251.1 kB / 0.9668 GB, free: 14.65 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.389e-05/0.856, allocations: 31.73 kB / 0.9668 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001521/0.8562, allocations: 186.6 kB / 0.967 GB, free: 14.44 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 8.263e-05/0.8563, allocations: 85.38 kB / 0.9671 GB, free: 14.37 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.215e-05/0.8563, allocations: 10.03 kB / 0.9671 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000208/0.8565, allocations: 332.9 kB / 0.9674 GB, free: 14.03 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000263/0.8568, allocations: 150.1 kB / 0.9676 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003444/0.8572, allocations: 229.1 kB / 0.9678 GB, free: 13.78 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003603/0.8575, allocations: 191.8 kB / 0.968 GB, free: 13.68 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.8575, allocations: 0 / 0.968 GB, free: 13.68 MB / 0.7325 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001243/0.8588, allocations: 0.5863 MB / 0.9685 GB, free: 13.36 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.577e-05/0.8588, allocations: 6.125 kB / 0.9685 GB, free: 13.36 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.174e-05/0.8588, allocations: 3.281 kB / 0.9685 GB, free: 13.36 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007161/0.8596, allocations: 190.2 kB / 0.9687 GB, free: 13.27 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002953/0.8599, allocations: 57.09 kB / 0.9688 GB, free: 13.25 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003216/0.8631, allocations: 2.299 MB / 0.971 GB, free: 11.36 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003076/0.8634, allocations: 21.39 kB / 0.971 GB, free: 11.35 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.82e-05/0.8635, allocations: 14.77 kB / 0.9711 GB, free: 11.34 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (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: 1 {(2,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002855/0.8638, allocations: 171.3 kB / 0.9712 GB, free: 11.19 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.421e-05/0.8638, allocations: 31.86 kB / 0.9713 GB, free: 11.17 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00066/0.8645, allocations: 358.4 kB / 0.9716 GB, free: 10.95 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.8645, allocations: 6.281 kB / 0.9716 GB, free: 10.95 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.8645, allocations: 1.094 kB / 0.9716 GB, free: 10.95 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.8645, allocations: 0 / 0.9716 GB, free: 10.95 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001226/0.8658, allocations: 0.8037 MB / 0.9724 GB, free: 10.34 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.8658, allocations: 0 / 0.9724 GB, free: 10.34 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003793/0.8662, allocations: 78.62 kB / 0.9725 GB, free: 10.32 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.159e-06/0.8662, allocations: 1.219 kB / 0.9725 GB, free: 10.32 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.07e-05/0.8662, allocations: 8 kB / 0.9725 GB, free: 10.31 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.312e-06/0.8663, allocations: 9.484 kB / 0.9725 GB, free: 10.3 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.574e-06/0.8663, allocations: 1.406 kB / 0.9725 GB, free: 10.3 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008447/0.8671, allocations: 0.6055 MB / 0.9731 GB, free: 9.914 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001388/0.8673, allocations: 124.4 kB / 0.9732 GB, free: 9.793 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.691e-05/0.8673, allocations: 11.33 kB / 0.9732 GB, free: 9.785 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001934/0.8675, allocations: 17.2 kB / 0.9732 GB, free: 9.773 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.527e-05/0.8676, allocations: 15.64 kB / 0.9732 GB, free: 9.766 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.831e-05/0.8676, allocations: 5.438 kB / 0.9732 GB, free: 9.766 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002051/0.8678, allocations: 179 kB / 0.9734 GB, free: 9.645 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8678, allocations: 0 / 0.9734 GB, free: 9.645 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004951/0.8683, allocations: 91.97 kB / 0.9735 GB, free: 9.629 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (dynRC.q[1],dynRC.q[2],dynRL.psi[1],dynRL.psi[2]) * 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 (24): * Single equations (assignments): 24 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001812/0.8685, allocations: 109.9 kB / 0.9736 GB, free: 9.535 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001035/0.8695, allocations: 0.5185 MB / 0.9741 GB, free: 9.219 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.8696, allocations: 0 / 0.9741 GB, free: 9.219 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000244/0.8698, allocations: 151.3 kB / 0.9743 GB, free: 9.148 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005082/0.8703, allocations: 61.33 kB / 0.9743 GB, free: 9.113 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001818/0.8722, allocations: 1.052 MB / 0.9753 GB, free: 8.32 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005243/0.8727, allocations: 0.791 MB / 0.9761 GB, free: 7.574 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001093/0.8728, allocations: 27.92 kB / 0.9761 GB, free: 7.562 MB / 0.7325 GB Notification: Performance of SimCode: time 4e-07/0.8728, allocations: 1.438 kB / 0.9761 GB, free: 7.562 MB / 0.7325 GB Notification: Performance of Templates: time 0.008933/0.8818, allocations: 4.383 MB / 0.9804 GB, free: 4.781 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.makefile make -j1 -f Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.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 OMCppBuildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoadsCalcHelperMain.o OMCppBuildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoadsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoadsCalcHelperMain.o] Error 1