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.007152/0.007152, allocations: 101.1 kB / 15.88 MB, free: 6.332 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.001492/0.001492, allocations: 193 kB / 16.79 MB, free: 6.258 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.364/1.364, allocations: 222.9 MB / 240.5 MB, free: 4.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9346/0.9346, allocations: 135.1 MB / 425.8 MB, free: 11.88 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001213/0.001213, allocations: 59.66 kB / 0.5053 GB, free: 5.754 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1732/0.1745, allocations: 80.92 MB / 0.5843 GB, free: 5.004 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.5328/0.7073, allocations: 164.7 MB / 0.7451 GB, free: 5.859 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02317/0.7305, allocations: 17.18 MB / 0.7619 GB, free: 7.605 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002221/0.7328, allocations: 27.81 kB / 0.7619 GB, free: 7.578 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001855/0.7347, allocations: 453.3 kB / 0.7624 GB, free: 7.133 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005543/0.7402, allocations: 1.46 MB / 0.7638 GB, free: 5.672 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003902/0.7441, allocations: 1.235 MB / 0.765 GB, free: 4.461 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004174/0.7483, allocations: 2.798 MB / 0.7677 GB, free: 1.648 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002712/0.7511, allocations: 1.813 MB / 0.7695 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005587/0.7567, allocations: 1.209 MB / 0.7707 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00182/0.7585, allocations: 1.015 MB / 0.7717 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0004588/0.759, allocations: 116 kB / 0.7718 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003738/0.7627, allocations: 1.571 MB / 0.7733 GB, free: 11.92 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0007321/0.7635, allocations: 0.6814 MB / 0.774 GB, free: 11.24 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001298/0.7648, allocations: 1.041 MB / 0.775 GB, free: 10.19 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003348/0.7682, allocations: 2.526 MB / 0.7775 GB, free: 7.66 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.219e-06/0.7682, allocations: 0 / 0.7775 GB, free: 7.66 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.593e-06/0.7682, allocations: 7.938 kB / 0.7775 GB, free: 7.652 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.096e-05/0.7682, allocations: 0 / 0.7775 GB, free: 7.652 MB / 0.5919 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.004434/0.7727, allocations: 2.651 MB / 0.7801 GB, free: 4.941 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.315e-05/0.7727, allocations: 8.031 kB / 0.7801 GB, free: 4.934 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003813/0.7765, allocations: 0.5513 MB / 0.7806 GB, free: 4.379 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002281/0.7788, allocations: 1.57 MB / 0.7822 GB, free: 2.758 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.57e-05/0.7789, allocations: 127.3 kB / 0.7823 GB, free: 2.633 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000207/0.7792, allocations: 164 kB / 0.7824 GB, free: 2.473 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003248/0.7824, allocations: 1.888 MB / 0.7843 GB, free: 0.5312 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.725e-05/0.7825, allocations: 0 / 0.7843 GB, free: 0.5312 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001575/0.7826, allocations: 80 kB / 0.7843 GB, free: 464 kB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.944e-05/0.7827, allocations: 40 kB / 0.7844 GB, free: 424 kB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003358/0.786, allocations: 2.069 MB / 0.7864 GB, free: 14.34 MB / 0.6075 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.009162/0.7952, allocations: 5.722 MB / 0.792 GB, free: 8.355 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003115/0.7983, allocations: 2.024 MB / 0.794 GB, free: 6.262 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001213/0.7996, allocations: 0.7417 MB / 0.7947 GB, free: 5.516 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005891/0.8002, allocations: 425.7 kB / 0.7951 GB, free: 5.023 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001684/0.8019, allocations: 0.9427 MB / 0.796 GB, free: 4.062 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=137): time 3.206e-06/0.8019, allocations: 3.938 kB / 0.796 GB, free: 4.059 MB / 0.6075 GB Notification: Performance of matching and sorting (n=137): time 0.006778/0.8087, allocations: 2.864 MB / 0.7988 GB, free: 1.082 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001127/0.8088, allocations: 197.2 kB / 0.799 GB, free: 0.8438 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00248/0.8113, allocations: 1.788 MB / 0.8008 GB, free: 15.04 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001892/0.8115, allocations: 53.7 kB / 0.8008 GB, free: 14.98 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008254/0.8123, allocations: 0.8232 MB / 0.8016 GB, free: 14.15 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004919/0.8128, allocations: 461.2 kB / 0.8021 GB, free: 13.69 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004131/0.8133, allocations: 238.8 kB / 0.8023 GB, free: 13.45 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001362/0.8134, allocations: 357.9 kB / 0.8026 GB, free: 13.1 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001085/0.8145, allocations: 0.5725 MB / 0.8032 GB, free: 12.52 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001343/0.8159, allocations: 0.7779 MB / 0.8039 GB, free: 11.7 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002325/0.8182, allocations: 1.302 MB / 0.8052 GB, free: 10.38 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/0.8182, allocations: 0 / 0.8052 GB, free: 10.38 MB / 0.6231 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.003992/0.8222, allocations: 1.752 MB / 0.8069 GB, free: 8.605 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.84e-05/0.8223, allocations: 8.062 kB / 0.8069 GB, free: 8.598 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.665e-05/0.8223, allocations: 3.938 kB / 0.8069 GB, free: 8.594 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001066/0.8234, allocations: 216 kB / 0.8071 GB, free: 8.367 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001565/0.8249, allocations: 323.6 kB / 0.8074 GB, free: 8.051 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005865/0.8308, allocations: 6.809 MB / 0.8141 GB, free: 0.5703 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001737/0.8326, allocations: 174.2 kB / 0.8143 GB, free: 412 kB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001339/0.8327, allocations: 59.95 kB / 0.8143 GB, free: 352 kB / 0.6231 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.000991/0.8337, allocations: 477.4 kB / 0.8148 GB, free: 15.87 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004048/0.8342, allocations: 173.8 kB / 0.8149 GB, free: 15.7 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004334/0.8385, allocations: 2.042 MB / 0.8169 GB, free: 13.62 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.515e-05/0.8385, allocations: 20 kB / 0.817 GB, free: 13.6 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.356e-06/0.8385, allocations: 0 / 0.817 GB, free: 13.6 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.073e-05/0.8386, allocations: 11.91 kB / 0.817 GB, free: 13.59 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006623/0.8452, allocations: 3.83 MB / 0.8207 GB, free: 9.688 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.893e-06/0.8452, allocations: 0 / 0.8207 GB, free: 9.688 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001434/0.8467, allocations: 311.6 kB / 0.821 GB, free: 9.383 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008907/0.8476, allocations: 212 kB / 0.8212 GB, free: 9.16 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001008/0.8477, allocations: 39.97 kB / 0.8212 GB, free: 9.121 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005463/0.8532, allocations: 6.836 MB / 0.8279 GB, free: 1.609 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.8532, allocations: 0 / 0.8279 GB, free: 1.609 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004179/0.8574, allocations: 1.912 MB / 0.8298 GB, free: 15.66 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001/0.8584, allocations: 458.3 kB / 0.8302 GB, free: 15.19 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002604/0.8587, allocations: 28 kB / 0.8303 GB, free: 15.16 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001257/0.86, allocations: 124.4 kB / 0.8304 GB, free: 15.04 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002561/0.8602, allocations: 109.1 kB / 0.8305 GB, free: 14.94 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001366/0.8604, allocations: 63.95 kB / 0.8305 GB, free: 14.88 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001652/0.862, allocations: 1.277 MB / 0.8318 GB, free: 13.6 MB / 0.6544 GB Notification: Performance of sort global known variables: time 3.51e-07/0.862, allocations: 0 / 0.8318 GB, free: 13.6 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001918/0.864, allocations: 0.6507 MB / 0.8324 GB, free: 12.95 MB / 0.6544 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.001853/0.8658, allocations: 0.7414 MB / 0.8331 GB, free: 12.41 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.003417/0.8693, allocations: 2.02 MB / 0.8351 GB, free: 10.33 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 6.462e-06/0.8693, allocations: 8.734 kB / 0.8351 GB, free: 10.32 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001984/0.8713, allocations: 1.376 MB / 0.8365 GB, free: 8.879 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002482/0.8738, allocations: 498.7 kB / 0.8369 GB, free: 8.398 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007972/0.8818, allocations: 4.616 MB / 0.8415 GB, free: 3.742 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001048/0.8828, allocations: 1.47 MB / 0.8429 GB, free: 2.242 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007705/0.8836, allocations: 183.3 kB / 0.8431 GB, free: 2.062 MB / 0.6544 GB Notification: Performance of SimCode: time 1.042e-06/0.8836, allocations: 7.938 kB / 0.8431 GB, free: 2.055 MB / 0.6544 GB Notification: Performance of Templates: time 0.3806/1.264, allocations: 64.72 MB / 0.9063 GB, free: 202.7 MB / 0.67 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