Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles") translateModel(IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001598/0.001598, allocations: 105.6 kB / 15.98 MB, free: 6.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00199/0.00199, allocations: 194.7 kB / 16.91 MB, free: 6.188 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.346/1.346, allocations: 222.9 MB / 240.6 MB, free: 15.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8142/0.8142, allocations: 135.1 MB / 425.9 MB, free: 4.305 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001517/0.001517, allocations: 63.91 kB / 0.5055 GB, free: 8.711 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3851/0.3866, allocations: 80.92 MB / 0.5845 GB, free: 25.28 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.1759/0.5625, allocations: 164.7 MB / 0.7453 GB, free: 5.531 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.4199/0.9825, allocations: 16.91 MB / 0.7619 GB, free: 1.738 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001443/0.984, allocations: 28.06 kB / 0.7619 GB, free: 1.738 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001536/0.9855, allocations: 458.2 kB / 0.7623 GB, free: 1.73 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005179/0.9907, allocations: 1.509 MB / 0.7638 GB, free: 1.676 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003731/0.9945, allocations: 1.264 MB / 0.765 GB, free: 1.641 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004455/0.9989, allocations: 2.542 MB / 0.7675 GB, free: 1.633 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002827/1.002, allocations: 1.959 MB / 0.7694 GB, free: 1.387 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005709/1.008, allocations: 1.35 MB / 0.7707 GB, free: 1.359 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00173/1.009, allocations: 1.082 MB / 0.7718 GB, free: 1.355 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0004885/1.01, allocations: 209.6 kB / 0.772 GB, free: 1.355 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003726/1.013, allocations: 1.545 MB / 0.7735 GB, free: 1.332 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0006676/1.014, allocations: 0.7736 MB / 0.7743 GB, free: 1.332 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001347/1.016, allocations: 1.139 MB / 0.7754 GB, free: 1.188 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003146/1.019, allocations: 2.564 MB / 0.7779 GB, free: 0.9688 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.181e-06/1.019, allocations: 0.9375 kB / 0.7779 GB, free: 0.9688 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.933e-06/1.019, allocations: 0 / 0.7779 GB, free: 0.9688 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.934e-05/1.019, allocations: 0.8125 kB / 0.7779 GB, free: 0.9688 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 418 * Number of variables: 418 Notification: Performance of Generate backend data structure: time 0.004323/1.023, allocations: 2.651 MB / 0.7805 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/1.023, allocations: 10.86 kB / 0.7805 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003699/1.027, allocations: 0.5506 MB / 0.781 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002592/1.029, allocations: 1.572 MB / 0.7826 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.404e-05/1.03, allocations: 125.7 kB / 0.7827 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002264/1.03, allocations: 161.8 kB / 0.7828 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003301/1.033, allocations: 1.894 MB / 0.7847 GB, free: 14.9 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.99e-05/1.033, allocations: 0.9062 kB / 0.7847 GB, free: 14.9 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001541/1.033, allocations: 71.19 kB / 0.7848 GB, free: 14.9 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.874e-05/1.033, allocations: 41.09 kB / 0.7848 GB, free: 14.9 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003028/1.036, allocations: 2.065 MB / 0.7868 GB, free: 14.89 MB / 0.5919 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00935/1.046, allocations: 5.703 MB / 0.7924 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003098/1.049, allocations: 2.047 MB / 0.7944 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001131/1.05, allocations: 0.7382 MB / 0.7951 GB, free: 12.6 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005932/1.051, allocations: 430.6 kB / 0.7955 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001679/1.052, allocations: 0.95 MB / 0.7964 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=137): time 6.201e-06/1.052, allocations: 0 / 0.7964 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of matching and sorting (n=137): time 0.00669/1.059, allocations: 2.861 MB / 0.7992 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001057/1.059, allocations: 198.9 kB / 0.7994 GB, free: 11.24 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002276/1.061, allocations: 1.79 MB / 0.8012 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001707/1.062, allocations: 57.89 kB / 0.8012 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006699/1.062, allocations: 0.8167 MB / 0.802 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003924/1.063, allocations: 462.6 kB / 0.8025 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003814/1.063, allocations: 242.4 kB / 0.8027 GB, free: 10.44 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001543/1.063, allocations: 356.5 kB / 0.803 GB, free: 10.13 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001076/1.064, allocations: 0.57 MB / 0.8036 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001271/1.066, allocations: 0.7781 MB / 0.8043 GB, free: 9.977 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00217/1.068, allocations: 1.3 MB / 0.8056 GB, free: 9.922 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-06/1.068, allocations: 0 / 0.8056 GB, free: 9.922 MB / 0.5919 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.004433/1.072, allocations: 1.758 MB / 0.8073 GB, free: 9.727 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.22e-05/1.072, allocations: 6.828 kB / 0.8073 GB, free: 9.727 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.17e-05/1.072, allocations: 1.188 kB / 0.8073 GB, free: 9.727 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001203/1.074, allocations: 214.4 kB / 0.8075 GB, free: 9.684 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001537/1.075, allocations: 324.3 kB / 0.8079 GB, free: 9.684 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006224/1.081, allocations: 7.334 MB / 0.815 GB, free: 2.879 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001984/1.083, allocations: 172.1 kB / 0.8152 GB, free: 2.801 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001246/1.083, allocations: 50.77 kB / 0.8152 GB, free: 2.793 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 8 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (141): * Single equations (assignments): 136 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.001149/1.085, allocations: 489 kB / 0.8157 GB, free: 2.523 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004293/1.085, allocations: 176.9 kB / 0.8159 GB, free: 2.434 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004497/1.09, allocations: 2.039 MB / 0.8179 GB, free: 1.695 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.307e-05/1.09, allocations: 18.53 kB / 0.8179 GB, free: 1.695 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.074e-06/1.09, allocations: 2.406 kB / 0.8179 GB, free: 1.695 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.623e-05/1.09, allocations: 7.922 kB / 0.8179 GB, free: 1.695 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006449/1.096, allocations: 3.84 MB / 0.8216 GB, free: 15.51 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.48e-06/1.096, allocations: 0.8438 kB / 0.8216 GB, free: 15.51 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001396/1.098, allocations: 312.7 kB / 0.8219 GB, free: 15.45 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008702/1.098, allocations: 213.1 kB / 0.8221 GB, free: 15.25 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001007/1.099, allocations: 35.97 kB / 0.8222 GB, free: 15.21 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00559/1.104, allocations: 7.348 MB / 0.8293 GB, free: 7.199 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/1.104, allocations: 4.094 kB / 0.8294 GB, free: 7.195 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00419/1.108, allocations: 1.918 MB / 0.8312 GB, free: 5.254 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009232/1.109, allocations: 458.2 kB / 0.8317 GB, free: 4.785 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002315/1.11, allocations: 28 kB / 0.8317 GB, free: 4.758 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001248/1.111, allocations: 122.3 kB / 0.8318 GB, free: 4.641 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000242/1.111, allocations: 105.2 kB / 0.8319 GB, free: 4.539 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001419/1.111, allocations: 63.95 kB / 0.832 GB, free: 4.477 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001684/1.113, allocations: 1.273 MB / 0.8332 GB, free: 3.207 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.71e-07/1.113, allocations: 6.906 kB / 0.8332 GB, free: 3.203 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.002023/1.115, allocations: 0.6469 MB / 0.8338 GB, free: 2.555 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (140): * Single equations (assignments): 133 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002034/1.117, allocations: 0.733 MB / 0.8346 GB, free: 2.07 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.005135/1.122, allocations: 2.439 MB / 0.8369 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 7.414e-06/1.122, allocations: 0.7969 kB / 0.8369 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.002096/1.124, allocations: 1.386 MB / 0.8383 GB, free: 14.18 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002664/1.127, allocations: 0.5238 MB / 0.8388 GB, free: 13.68 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008235/1.135, allocations: 4.624 MB / 0.8433 GB, free: 9.023 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001061/1.136, allocations: 1.466 MB / 0.8448 GB, free: 7.527 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007693/1.137, allocations: 191.3 kB / 0.8449 GB, free: 7.34 MB / 0.6231 GB Notification: Performance of SimCode: time 7.21e-07/1.137, allocations: 0 / 0.8449 GB, free: 7.34 MB / 0.6231 GB Notification: Performance of Templates: time 0.07467/1.212, allocations: 64.73 MB / 0.9082 GB, free: 6.734 MB / 0.6856 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles.makefile make -j1 -f IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles.makefile clang++ -std=c++14 -fopenmp=libomp -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/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources""-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppIDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_AnglesCalcHelperMain.o OMCppIDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_AnglesCalcHelperMain.cpp In file included from OMCppIDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_AnglesCalcHelperMain.cpp:28: In file included from ./OMCppIDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_AnglesFunctions.cpp:8: /home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Resources/C-Sources/getTimeSpan.c:27:9: error: cannot initialize a variable of type 'char *' with an rvalue of type 'void *' char *result = malloc(len1 + len2 + 1); ^ ~~~~~~~~~~~~~~~~~~~~~~~ 1 error generated. make: *** [: OMCppIDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_AnglesCalcHelperMain.o] Error 1