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.0007978/0.0007983, allocations: 92.78 kB / 16.02 MB, free: 80 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.000973/0.0009729, allocations: 177.9 kB / 16.92 MB, free: 6.652 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.367/1.367, allocations: 223.3 MB / 241 MB, free: 5.191 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9266/0.9266, allocations: 135.3 MB / 427.4 MB, free: 14.4 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004583/0.0004582, allocations: 8 kB / 0.5082 GB, free: 4.781 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1861/0.1866, allocations: 82.32 MB / 0.5886 GB, free: 2.637 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.5061/0.6928, allocations: 162.5 MB / 0.7473 GB, free: 5.828 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02149/0.7143, allocations: 16.93 MB / 0.7638 GB, free: 8.887 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002338/0.7167, allocations: 29.09 kB / 0.7638 GB, free: 8.875 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002203/0.7189, allocations: 444.2 kB / 0.7643 GB, free: 8.492 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005925/0.7249, allocations: 1.47 MB / 0.7657 GB, free: 7.02 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004072/0.729, allocations: 1.237 MB / 0.7669 GB, free: 5.805 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004853/0.7338, allocations: 2.79 MB / 0.7696 GB, free: 3.004 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002775/0.7367, allocations: 1.686 MB / 0.7713 GB, free: 1.277 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005021/0.7417, allocations: 1.045 MB / 0.7723 GB, free: 284 kB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001418/0.7431, allocations: 0.8201 MB / 0.7731 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002653/0.7434, allocations: 44 kB / 0.7731 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003241/0.7467, allocations: 1.516 MB / 0.7746 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0006004/0.7473, allocations: 0.5721 MB / 0.7752 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001031/0.7483, allocations: 0.9332 MB / 0.7761 GB, free: 12.37 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003031/0.7514, allocations: 2.478 MB / 0.7785 GB, free: 9.887 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.7514, allocations: 0 / 0.7785 GB, free: 9.887 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.485e-06/0.7514, allocations: 0 / 0.7785 GB, free: 9.887 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.326e-05/0.7515, allocations: 0 / 0.7785 GB, free: 9.887 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.003974/0.7555, allocations: 2.211 MB / 0.7807 GB, free: 7.617 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/0.7555, allocations: 8.031 kB / 0.7807 GB, free: 7.609 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003731/0.7593, allocations: 0.563 MB / 0.7812 GB, free: 7.043 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002475/0.7618, allocations: 1.564 MB / 0.7828 GB, free: 5.426 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.349e-05/0.7619, allocations: 123.3 kB / 0.7829 GB, free: 5.305 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002219/0.7621, allocations: 164 kB / 0.783 GB, free: 5.145 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003464/0.7656, allocations: 1.904 MB / 0.7849 GB, free: 3.188 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.933e-05/0.7656, allocations: 3.938 kB / 0.7849 GB, free: 3.184 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002263/0.7659, allocations: 72 kB / 0.785 GB, free: 3.113 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-05/0.7659, allocations: 40 kB / 0.785 GB, free: 3.074 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00343/0.7694, allocations: 2.085 MB / 0.787 GB, free: 0.9844 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.009078/0.7785, allocations: 5.743 MB / 0.7926 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003156/0.7816, allocations: 2.052 MB / 0.7946 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001286/0.783, allocations: 0.753 MB / 0.7954 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005578/0.7835, allocations: 433.7 kB / 0.7958 GB, free: 7.613 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001647/0.7852, allocations: 0.9543 MB / 0.7967 GB, free: 6.637 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=137): time 3.246e-06/0.7852, allocations: 0 / 0.7967 GB, free: 6.637 MB / 0.6075 GB Notification: Performance of matching and sorting (n=137): time 0.006593/0.7918, allocations: 2.899 MB / 0.7996 GB, free: 3.625 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001033/0.792, allocations: 193.2 kB / 0.7997 GB, free: 3.395 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002362/0.7943, allocations: 1.792 MB / 0.8015 GB, free: 1.59 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0002248/0.7946, allocations: 57.7 kB / 0.8015 GB, free: 1.527 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.000662/0.7952, allocations: 0.8153 MB / 0.8023 GB, free: 0.6992 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004029/0.7956, allocations: 461.3 kB / 0.8028 GB, free: 248 kB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001483/0.7958, allocations: 101.7 kB / 0.8029 GB, free: 140 kB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001332/0.7959, allocations: 353.9 kB / 0.8032 GB, free: 15.79 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001136/0.7971, allocations: 0.5843 MB / 0.8038 GB, free: 15.2 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001243/0.7983, allocations: 0.7857 MB / 0.8046 GB, free: 14.36 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00231/0.8007, allocations: 1.321 MB / 0.8058 GB, free: 13.03 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.519e-06/0.8007, allocations: 0 / 0.8058 GB, free: 13.03 MB / 0.6231 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.003908/0.8046, allocations: 1.783 MB / 0.8076 GB, free: 11.22 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.865e-05/0.8046, allocations: 4 kB / 0.8076 GB, free: 11.22 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.235e-05/0.8047, allocations: 3.938 kB / 0.8076 GB, free: 11.21 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001056/0.8057, allocations: 208.2 kB / 0.8078 GB, free: 11 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001539/0.8073, allocations: 331.5 kB / 0.8081 GB, free: 10.67 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0056/0.8129, allocations: 6.811 MB / 0.8148 GB, free: 3.195 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001755/0.8147, allocations: 183.4 kB / 0.8149 GB, free: 3.023 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001799/0.8149, allocations: 55.95 kB / 0.815 GB, free: 2.969 MB / 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.001022/0.8159, allocations: 473.4 kB / 0.8154 GB, free: 2.496 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003881/0.8163, allocations: 173.8 kB / 0.8156 GB, free: 2.324 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004406/0.8207, allocations: 2.07 MB / 0.8176 GB, free: 228 kB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.524e-05/0.8207, allocations: 19.98 kB / 0.8176 GB, free: 208 kB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.8208, allocations: 0 / 0.8176 GB, free: 208 kB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.337e-05/0.8208, allocations: 4.078 kB / 0.8177 GB, free: 204 kB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00663/0.8274, allocations: 3.857 MB / 0.8214 GB, free: 12.27 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.723e-06/0.8275, allocations: 0 / 0.8214 GB, free: 12.27 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001435/0.8289, allocations: 319.6 kB / 0.8217 GB, free: 11.96 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000938/0.8299, allocations: 216.1 kB / 0.8219 GB, free: 11.73 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001022/0.83, allocations: 35.97 kB / 0.822 GB, free: 11.7 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005305/0.8353, allocations: 6.852 MB / 0.8287 GB, free: 4.168 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.8353, allocations: 0 / 0.8287 GB, free: 4.168 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004425/0.8397, allocations: 1.936 MB / 0.8305 GB, free: 2.195 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001006/0.8408, allocations: 478.2 kB / 0.831 GB, free: 1.707 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002078/0.841, allocations: 31.94 kB / 0.831 GB, free: 1.676 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00124/0.8423, allocations: 141.1 kB / 0.8312 GB, free: 1.539 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000246/0.8425, allocations: 101.2 kB / 0.8313 GB, free: 1.441 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001365/0.8427, allocations: 67.95 kB / 0.8313 GB, free: 1.375 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001585/0.8443, allocations: 1.281 MB / 0.8326 GB, free: 100 kB / 0.6387 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8443, allocations: 0 / 0.8326 GB, free: 100 kB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001799/0.8461, allocations: 0.643 MB / 0.8332 GB, free: 15.45 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.00175/0.8478, allocations: 0.7275 MB / 0.8339 GB, free: 14.93 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.003501/0.8513, allocations: 2.044 MB / 0.8359 GB, free: 12.82 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 8.756e-06/0.8514, allocations: 0.7969 kB / 0.8359 GB, free: 12.82 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.002047/0.8534, allocations: 1.395 MB / 0.8373 GB, free: 11.36 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002629/0.8561, allocations: 0.4911 MB / 0.8378 GB, free: 10.88 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008286/0.8644, allocations: 4.679 MB / 0.8423 GB, free: 6.16 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001077/0.8655, allocations: 1.481 MB / 0.8438 GB, free: 4.648 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007915/0.8663, allocations: 179.3 kB / 0.8439 GB, free: 4.473 MB / 0.6544 GB Notification: Performance of SimCode: time 5.41e-07/0.8663, allocations: 4 kB / 0.8439 GB, free: 4.469 MB / 0.6544 GB Notification: Performance of Templates: time 0.3466/1.213, allocations: 64.45 MB / 0.9069 GB, free: 200.8 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