Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 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.AC.OnePhase.Sources.Examples.VariablePowerSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource") translateModel(Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001031/0.001031, allocations: 102.6 kB / 15.71 MB, free: 460 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.001411/0.001411, allocations: 176 kB / 16.58 MB, free: 6.859 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.854/1.854, allocations: 205.4 MB / 222.8 MB, free: 5.652 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.922/1.922, allocations: 292.7 MB / 0.5505 GB, free: 14.55 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.0005757/0.0005757, allocations: 22 kB / 0.6744 GB, free: 26.35 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2658/0.2664, allocations: 116.3 MB / 0.7879 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource): time 0.003864/0.2703, allocations: 2.622 MB / 0.7905 GB, free: 9.312 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00279/0.2732, allocations: 1.661 MB / 0.7921 GB, free: 7.641 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000152/0.2734, allocations: 0 / 0.7921 GB, free: 7.641 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001847/0.2736, allocations: 31.72 kB / 0.7921 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.000454/0.274, allocations: 155.3 kB / 0.7923 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005745/0.2746, allocations: 191.5 kB / 0.7925 GB, free: 7.27 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004681/0.2751, allocations: 418.6 kB / 0.7929 GB, free: 6.859 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008239/0.2759, allocations: 381.9 kB / 0.7932 GB, free: 6.469 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002279/0.2762, allocations: 135.4 kB / 0.7934 GB, free: 6.336 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003113/0.2765, allocations: 163.4 kB / 0.7935 GB, free: 6.176 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.819e-05/0.2765, allocations: 16 kB / 0.7935 GB, free: 6.16 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002948/0.2768, allocations: 135.8 kB / 0.7937 GB, free: 6.027 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001012/0.2769, allocations: 83.77 kB / 0.7937 GB, free: 5.945 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 8.206e-05/0.277, allocations: 69.58 kB / 0.7938 GB, free: 5.871 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003875/0.2774, allocations: 347.3 kB / 0.7941 GB, free: 5.531 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.2774, allocations: 8 kB / 0.7941 GB, free: 5.523 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.235e-06/0.2774, allocations: 0 / 0.7941 GB, free: 5.523 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.803e-06/0.2775, allocations: 0 / 0.7941 GB, free: 5.523 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.001148/0.2786, allocations: 0.6018 MB / 0.7947 GB, free: 4.863 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/0.2787, allocations: 8.031 kB / 0.7947 GB, free: 4.855 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006739/0.2793, allocations: 107.5 kB / 0.7948 GB, free: 4.75 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003321/0.2797, allocations: 266.4 kB / 0.7951 GB, free: 4.449 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.226e-05/0.2797, allocations: 12.44 kB / 0.7951 GB, free: 4.438 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.277e-05/0.2798, allocations: 27.98 kB / 0.7951 GB, free: 4.41 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007769/0.2806, allocations: 418.6 kB / 0.7955 GB, free: 3.977 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.119e-05/0.2806, allocations: 4 kB / 0.7955 GB, free: 3.973 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.845e-05/0.2806, allocations: 11.98 kB / 0.7956 GB, free: 3.961 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.829e-05/0.2807, allocations: 32.3 kB / 0.7956 GB, free: 3.926 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008732/0.2816, allocations: 412.5 kB / 0.796 GB, free: 3.523 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001815/0.2834, allocations: 1.623 MB / 0.7976 GB, free: 1.773 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001074/0.2845, allocations: 485.2 kB / 0.798 GB, free: 1.281 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003953/0.2849, allocations: 213.5 kB / 0.7982 GB, free: 1.066 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001505/0.2851, allocations: 89.09 kB / 0.7983 GB, free: 0.9609 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005251/0.2856, allocations: 278.5 kB / 0.7986 GB, free: 0.6719 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=27): time 1.893e-06/0.2856, allocations: 0 / 0.7986 GB, free: 0.6719 MB / 0.6075 GB Notification: Performance of matching and sorting (n=28): time 0.001825/0.2875, allocations: 0.7822 MB / 0.7993 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.127e-05/0.2875, allocations: 85.09 kB / 0.7994 GB, free: 15.76 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002212/0.2878, allocations: 225.2 kB / 0.7996 GB, free: 15.53 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.134e-05/0.2878, allocations: 29.7 kB / 0.7997 GB, free: 15.49 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001459/0.2879, allocations: 172.2 kB / 0.7998 GB, free: 15.32 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 7.793e-05/0.288, allocations: 94.66 kB / 0.7999 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.193e-05/0.2881, allocations: 4 kB / 0.7999 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001272/0.2882, allocations: 342.7 kB / 0.8003 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003883/0.2886, allocations: 184.2 kB / 0.8004 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004118/0.289, allocations: 249.3 kB / 0.8007 GB, free: 14.43 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004289/0.2895, allocations: 233.8 kB / 0.8009 GB, free: 14.2 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.2895, allocations: 4 kB / 0.8009 GB, free: 14.19 MB / 0.6231 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001087/0.2906, allocations: 0.5564 MB / 0.8014 GB, free: 13.62 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001407/0.2907, allocations: 190.6 kB / 0.8016 GB, free: 13.39 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.387e-06/0.2907, allocations: 4 kB / 0.8016 GB, free: 13.39 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002358/0.291, allocations: 44.78 kB / 0.8017 GB, free: 13.34 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003873/0.2914, allocations: 83.86 kB / 0.8017 GB, free: 13.26 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001503/0.2929, allocations: 1.501 MB / 0.8032 GB, free: 11.62 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003538/0.2933, allocations: 59.86 kB / 0.8033 GB, free: 11.57 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.238e-05/0.2933, allocations: 8 kB / 0.8033 GB, free: 11.56 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 9.027e-06/0.2933, allocations: 4 kB / 0.8033 GB, free: 11.55 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001144/0.2945, allocations: 0.4943 MB / 0.8038 GB, free: 11.05 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/0.2945, allocations: 4.062 kB / 0.8038 GB, free: 11.05 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001511/0.2947, allocations: 44.81 kB / 0.8038 GB, free: 11 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003555/0.295, allocations: 87.88 kB / 0.8039 GB, free: 10.91 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001486/0.2965, allocations: 1.485 MB / 0.8053 GB, free: 9.289 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003146/0.2968, allocations: 47.94 kB / 0.8054 GB, free: 9.242 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.167e-05/0.2969, allocations: 15.98 kB / 0.8054 GB, free: 9.227 MB / 0.6231 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.0003175/0.2972, allocations: 241.1 kB / 0.8056 GB, free: 8.98 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.559e-05/0.2973, allocations: 23.72 kB / 0.8057 GB, free: 8.957 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001128/0.2984, allocations: 496.5 kB / 0.8061 GB, free: 8.465 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.2984, allocations: 4 kB / 0.8061 GB, free: 8.461 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.2984, allocations: 0 / 0.8061 GB, free: 8.461 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.568e-06/0.2985, allocations: 7.984 kB / 0.8061 GB, free: 8.453 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008551/0.2993, allocations: 0.5699 MB / 0.8067 GB, free: 7.82 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.087e-06/0.2993, allocations: 0 / 0.8067 GB, free: 7.82 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003607/0.2997, allocations: 75.92 kB / 0.8068 GB, free: 7.746 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001724/0.2999, allocations: 44.77 kB / 0.8068 GB, free: 7.699 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.187e-05/0.2999, allocations: 7.984 kB / 0.8068 GB, free: 7.691 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00138/0.3013, allocations: 1.405 MB / 0.8082 GB, free: 6.152 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.252e-06/0.3013, allocations: 7.969 kB / 0.8082 GB, free: 6.145 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009846/0.3023, allocations: 0.5537 MB / 0.8087 GB, free: 5.562 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000157/0.3025, allocations: 136.7 kB / 0.8089 GB, free: 5.41 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.32e-05/0.3026, allocations: 15.94 kB / 0.8089 GB, free: 5.395 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002765/0.3028, allocations: 43.89 kB / 0.8089 GB, free: 5.352 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001004/0.3029, allocations: 31.91 kB / 0.809 GB, free: 5.32 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.606e-05/0.303, allocations: 12 kB / 0.809 GB, free: 5.309 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.000174/0.3032, allocations: 172.5 kB / 0.8091 GB, free: 5.137 MB / 0.6231 GB Notification: Performance of sort global known variables: time 9e-08/0.3032, allocations: 0 / 0.8091 GB, free: 5.137 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0006601/0.3038, allocations: 132 kB / 0.8093 GB, free: 5.008 MB / 0.6231 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.0002192/0.3041, allocations: 107.3 kB / 0.8094 GB, free: 4.891 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.00178/0.3058, allocations: 1.009 MB / 0.8103 GB, free: 3.832 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.46e-06/0.3059, allocations: 4.188 kB / 0.8103 GB, free: 3.828 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0005696/0.3064, allocations: 334.4 kB / 0.8107 GB, free: 3.488 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004533/0.3069, allocations: 48.59 kB / 0.8107 GB, free: 3.441 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001271/0.3082, allocations: 0.7739 MB / 0.8115 GB, free: 2.633 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003976/0.3086, allocations: 0.7878 MB / 0.8122 GB, free: 1.812 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001244/0.3087, allocations: 27.44 kB / 0.8123 GB, free: 1.785 MB / 0.6231 GB Notification: Performance of SimCode: time 5.51e-07/0.3087, allocations: 0 / 0.8123 GB, free: 1.785 MB / 0.6231 GB Notification: Performance of Templates: time 0.00787/0.3166, allocations: 5.103 MB / 0.8172 GB, free: 12.69 MB / 0.6387 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.makefile make -j1 -f Buildings_8_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_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSourceCalcHelperMain.o OMCppBuildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSourceCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSourceCalcHelperMain.o] Error 1