Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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.Sources.Examples.VariablePowerSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|RL.i.1.|RL.i.2.|RL.S.1.|RL.S.2.|generator.S.1.|generator.S.2.|grid.sou.S.1.|grid.sou.S.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource") translateModel(Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|RL.i.1.|RL.i.2.|RL.S.1.|RL.S.2.|generator.S.1.|generator.S.2.|grid.sou.S.1.|grid.sou.S.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001257/0.001257, 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.001863/0.001863, allocations: 175.2 kB / 16.58 MB, free: 6.879 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.507/1.507, allocations: 223.3 MB / 240.6 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.821/2.821, allocations: 436.7 MB / 0.7113 GB, free: 7.895 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003993/0.0003993, allocations: 8.219 kB / 0.8717 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8297/0.8301, allocations: 153.7 MB / 1.022 GB, free: 1.129 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource): time 0.003247/0.8334, allocations: 2.626 MB / 1.024 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002361/0.8358, allocations: 1.614 MB / 1.026 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001213/0.836, allocations: 7.938 kB / 1.026 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001643/0.8361, allocations: 35.7 kB / 1.026 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003994/0.8365, allocations: 143.3 kB / 1.026 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004881/0.837, allocations: 190.4 kB / 1.026 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0004066/0.8375, allocations: 414.7 kB / 1.027 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007245/0.8382, allocations: 378.6 kB / 1.027 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000204/0.8384, allocations: 131.5 kB / 1.027 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002895/0.8387, allocations: 167.4 kB / 1.027 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.88e-05/0.8388, allocations: 15.94 kB / 1.027 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002576/0.839, allocations: 139.8 kB / 1.027 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 9.169e-05/0.8391, allocations: 87.72 kB / 1.028 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 7.083e-05/0.8392, allocations: 65.58 kB / 1.028 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003476/0.8396, allocations: 345.1 kB / 1.028 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.8396, allocations: 0 / 1.028 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.554e-06/0.8396, allocations: 3.984 kB / 1.028 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.15e-06/0.8396, allocations: 0 / 1.028 GB, free: 10.77 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.001037/0.8406, allocations: 0.6057 MB / 1.028 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.288e-05/0.8407, allocations: 8.031 kB / 1.029 GB, free: 10.1 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006759/0.8414, allocations: 99.52 kB / 1.029 GB, free: 10 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003439/0.8417, allocations: 274.5 kB / 1.029 GB, free: 9.691 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.543e-05/0.8417, allocations: 20.38 kB / 1.029 GB, free: 9.672 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.199e-05/0.8418, allocations: 23.94 kB / 1.029 GB, free: 9.648 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007491/0.8426, allocations: 430.5 kB / 1.029 GB, free: 9.199 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.43e-05/0.8426, allocations: 0 / 1.029 GB, free: 9.199 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.534e-05/0.8426, allocations: 8 kB / 1.029 GB, free: 9.191 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.672e-05/0.8427, allocations: 24.36 kB / 1.029 GB, free: 9.164 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008382/0.8435, allocations: 416.7 kB / 1.03 GB, free: 8.758 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001729/0.8453, allocations: 1.615 MB / 1.031 GB, free: 7.016 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001108/0.8464, allocations: 493.1 kB / 1.032 GB, free: 6.516 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004067/0.8468, allocations: 213.6 kB / 1.032 GB, free: 6.301 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001449/0.847, allocations: 85.09 kB / 1.032 GB, free: 6.199 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005371/0.8475, allocations: 286.5 kB / 1.032 GB, free: 5.898 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=27): time 1.533e-06/0.8475, allocations: 0 / 1.032 GB, free: 5.898 MB / 0.7794 GB Notification: Performance of matching and sorting (n=28): time 0.001769/0.8493, allocations: 0.7776 MB / 1.033 GB, free: 5.094 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.842e-05/0.8494, allocations: 85.11 kB / 1.033 GB, free: 4.992 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002241/0.8496, allocations: 224.9 kB / 1.033 GB, free: 4.762 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.322e-05/0.8496, allocations: 33.7 kB / 1.033 GB, free: 4.723 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001012/0.8497, allocations: 160.4 kB / 1.034 GB, free: 4.562 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 7.684e-05/0.8498, allocations: 94.64 kB / 1.034 GB, free: 4.469 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.151e-05/0.8498, allocations: 4 kB / 1.034 GB, free: 4.465 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001384/0.85, allocations: 338.8 kB / 1.034 GB, free: 4.125 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003794/0.8504, allocations: 184.1 kB / 1.034 GB, free: 3.945 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00041/0.8508, allocations: 249.3 kB / 1.034 GB, free: 3.672 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004284/0.8512, allocations: 237.8 kB / 1.035 GB, free: 3.434 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.8512, allocations: 0 / 1.035 GB, free: 3.434 MB / 0.7794 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001064/0.8523, allocations: 0.5599 MB / 1.035 GB, free: 2.859 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001063/0.8524, allocations: 179.4 kB / 1.035 GB, free: 2.645 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.8524, allocations: 4 kB / 1.035 GB, free: 2.641 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002171/0.8527, allocations: 44.77 kB / 1.035 GB, free: 2.594 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003849/0.8531, allocations: 91.86 kB / 1.035 GB, free: 2.504 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001404/0.8545, allocations: 1.489 MB / 1.037 GB, free: 0.8789 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002986/0.8548, allocations: 55.92 kB / 1.037 GB, free: 0.8242 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.267e-05/0.8548, allocations: 15.95 kB / 1.037 GB, free: 0.8086 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 6.042e-06/0.8548, allocations: 4 kB / 1.037 GB, free: 0.8047 MB / 0.7794 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009937/0.8558, allocations: 0.5028 MB / 1.038 GB, free: 300 kB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.8559, allocations: 4 kB / 1.038 GB, free: 296 kB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001206/0.856, allocations: 40.88 kB / 1.038 GB, free: 252 kB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003348/0.8563, allocations: 92.03 kB / 1.038 GB, free: 160 kB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001113/0.8575, allocations: 1.481 MB / 1.039 GB, free: 14.54 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000277/0.8578, allocations: 63.8 kB / 1.039 GB, free: 14.47 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.52e-05/0.8578, allocations: 11.94 kB / 1.039 GB, free: 14.46 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.load.T_start,load.T_start,$PRE.load.count,load.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 1 * 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 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002126/0.858, allocations: 241 kB / 1.039 GB, free: 14.21 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.551e-05/0.8581, allocations: 27.7 kB / 1.039 GB, free: 14.19 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001017/0.8591, allocations: 496.4 kB / 1.04 GB, free: 13.69 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-06/0.8591, allocations: 4 kB / 1.04 GB, free: 13.69 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.015e-06/0.8591, allocations: 0 / 1.04 GB, free: 13.69 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.212e-06/0.8591, allocations: 3.953 kB / 1.04 GB, free: 13.68 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005974/0.8597, allocations: 0.5622 MB / 1.04 GB, free: 13.06 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.8597, allocations: 0 / 1.04 GB, free: 13.06 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003771/0.8601, allocations: 87.84 kB / 1.041 GB, free: 12.97 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001139/0.8602, allocations: 41.05 kB / 1.041 GB, free: 12.93 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.712e-05/0.8603, allocations: 11.95 kB / 1.041 GB, free: 12.92 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001004/0.8613, allocations: 1.409 MB / 1.042 GB, free: 11.38 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.8613, allocations: 0 / 1.042 GB, free: 11.38 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009622/0.8623, allocations: 0.5615 MB / 1.043 GB, free: 10.79 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001388/0.8624, allocations: 140.6 kB / 1.043 GB, free: 10.63 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.344e-05/0.8625, allocations: 4 kB / 1.043 GB, free: 10.63 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002838/0.8628, allocations: 39.95 kB / 1.043 GB, free: 10.59 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001005/0.8629, allocations: 35.95 kB / 1.043 GB, free: 10.55 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.148e-05/0.8629, allocations: 4 kB / 1.043 GB, free: 10.55 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0001605/0.8631, allocations: 180.5 kB / 1.043 GB, free: 10.38 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8631, allocations: 0 / 1.043 GB, free: 10.38 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0005799/0.8637, allocations: 128 kB / 1.043 GB, free: 10.25 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,load.T_start,load.count) * Number of discrete states: 1 (load.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001834/0.8639, allocations: 115.1 kB / 1.043 GB, free: 10.13 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.001699/0.8656, allocations: 1.009 MB / 1.044 GB, free: 9.07 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.8656, allocations: 4 kB / 1.044 GB, free: 9.066 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0005633/0.8661, allocations: 335.3 kB / 1.044 GB, free: 8.727 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004427/0.8666, allocations: 56.98 kB / 1.044 GB, free: 8.676 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001155/0.8678, allocations: 0.7738 MB / 1.045 GB, free: 7.859 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003532/0.8681, allocations: 0.7839 MB / 1.046 GB, free: 7.047 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001191/0.8683, allocations: 35.42 kB / 1.046 GB, free: 7.012 MB / 0.795 GB Notification: Performance of SimCode: time 2.21e-07/0.8683, allocations: 4 kB / 1.046 GB, free: 7.008 MB / 0.795 GB Notification: Performance of Templates: time 0.007263/0.8755, allocations: 5.091 MB / 1.051 GB, free: 1.918 MB / 0.795 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.makefile make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.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_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSourceCalcHelperMain.o OMCppBuildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSourceCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSourceCalcHelperMain.o] Error 1